[sdiy] formula for exponential decay
Dana Scott
danas at egosys.com
Fri Feb 16 00:37:04 CET 2001
You might also want to try
X(n+1) = X(n)+X(n) * C
just for laughs
-Dana
>> Repeat:
>> X(n+1) = X(n) * C
>
>great! played around with this a bit...I take it tslope represents
RC from
>the discharge equation...I want my expo-slope envelope to reach the
sustain
>level at about the same time as the linear...looking again in the The
Art of
>Electronics, if I account for the "5RC rule of thumb" and divide
tslope by 5
>in the "Prepare" equation, then the expo formula gets close to zero
at the
>same time as the linear. That way I can offer selectable slope and
feed the
>same decay time into both formulas. Anyway, it looks good when I
graph it;
>we'll see how it sounds.
>
>
>> Have fun, and most importantly, let us know how it goes!
>
>Will do, once I'm far enough along to have something useful to share
>
>
More information about the Synth-diy
mailing list