[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] EnvGate in SynthDef not working as expected



Hi List,

The following SynthDef I assumed would work to fade out and release in 12 seconds
instead what happens is the synth abruptly stops after 12 seconds.
Whats the issue here? 
(
SynthDef(\envTest, {| out = 0| var src;
src = "" href="http://LPF.ar" class="">LPF.ar(Saw.ar(200), 600) ;
src * EnvGate.new;
Out.ar(out,src)
}).add;
)

~test = Synth.new(\envTest)
~test.set(\fadeTime,12)
~test.release

thanks in advance
Daniel