[sdiy] Soft ADSR ways?

karl dalen dalenkarl at yahoo.se
Sun Feb 13 11:06:44 CET 2011


How many ways could one do an ADSR in? Which one are
fastest and which one are fast and code efficient??

1.Impulse + low pass something, tight code? conceptually tricky?

2.Divide 1.0 with (time*samplerate), add/subtract value
from envelope level for the appropriate number of samples
does that need a LUT, no?

3.As 2 but use change state based on the envelope level +LUT?

4.Counter + level state machine + large/medium LUT?

5.Same as 4 but interpolate small LUT?

6.cube muls something?

7.......more ways?

Why do i constantly end up with a LUT?!!? 
I still need to interpolate i.....hmmm..

Reg
KD (dont talk math with me im crap at it)






More information about the Synth-diy mailing list