2 summary:: When triggered, free enclosing synth.
3 related:: Classes/PauseSelf, Classes/Free
4 categories:: UGens>Synth control
8 Free enclosing synth when input signal crosses from non-positive to
25 SynthDef("freeSelf-help", { arg out, t_trig;
27 Out.ar(out, SinOsc.ar(400,0,0.2));
31 s.sendMsg("/s_new", "freeSelf-help", 1731);
32 s.sendMsg("/n_set", 1731, \t_trig, 1);
34 // a single impulse SynthDef:
37 SynthDef("dirac", { arg out, amp=0.1;
42 // multiply by amp after using for release, so amp = 0
43 // doesn't cause synth buildup.
51 exprand(34, 156).do {|i|
53 s.sendMsg("/s_new", "dirac", -1,0,0, \amp, 1 / i);