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

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



Hi Daniel,

I think you need to assign multiplied signal back to the "src" variable:

src = "" * EnvGate.new;

Best,
Marcin

On Sat, Mar 16, 2019 at 6:09 PM <foxparse@xxxxxxxxx> wrote:
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" target="_blank">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