15 Sep
2005
15 Sep
'05
7:32 a.m.
I'm wondering how to handle ADSR release time correctly. In theory the following should work: sinosc s => ADSR e => dac; s.freq(1000); e.attackTime(0.1); e.decayTime(0.2); e.sustainLevel(0.5); e.releaseTime(0.01 => float r); e.keyOn(1); 1::second => now; e.keyOff(1); r::second => now; However, for small values like 0.01 above I get a click at the end. Any ideas? -mb