[sdiy] Fast envelope generation
tom at electricdruid.net
Thu Dec 20 10:26:00 CET 2012
On 20 Dec 2012, at 04:04, Neil Johnson wrote:
>> 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....
Sorry Neil, you've lost me. What do you mean?
More information about the Synth-diy