[sdiy] Fast envelope generation

Neil Johnson neil.johnson97 at ntlworld.com
Thu Dec 20 05:04:35 CET 2012


> You can read the curve as a interpolation index x, and then do the following linear interp calc:
> y = ((1-x) * start) + (x * end)
> This gives you the curve between the two points 'start' and 'end' and saves the scaling, for the cost of two multiplies. Since you can read any lookup table, you can insert any curve between the two points for no more work.

As always the devil is in the details....

Modules and more: http://www.cesyg.com
Homepage: http://www.njohnson.co.uk

More information about the Synth-diy mailing list