-
... related nodes when the UGen is finished. These include EnvGen , Line , XLine , Linen , DetectSilence , PlayBuf , Duty , TDuty and Demand . For a list, see: Synth-Controlling-UGens The available done actions are as follows: 0 do nothing whe ...
-
... ms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; ); a = Pbind ( \instrument , \test , \dur , 0.1); Pbindf (a, \freq , Pra ...
-
... s see overview: Synth-Controlling-UGens Control DetectSilence EnvGen Line XLine Linen Free FreeSelf Pause PauseSelf Random Values Rand ExpRand LinRand NRand IRand TIRand TRand TExpRand RandSeed RandID Array Usage Select TWindex to be contin ...
-
... lfWhenDone.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr and the Buffer delay UGens set a 'done' flag when they are finished playing. FreeSelfWhenDone will free the enclosing synth when this flag i ...
-
... ms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; ); Pbind ( \instrument , \test , \freq , Prand ([1, 1.2, 2, 2.5, 3, 4], ...
-
... ,0,0,0,0,0,0,0,0], atk = 5, sus = 8, rel = 5, pan = 0| var e = EnvGen .kr( Env .linen(atk, sus, rel, 1, 4), doneAction:2); var i = Decay .ar( Impulse .ar( Rand (0.8, 2.2)), 0.03, ClipNoise .ar(0.01)); var z = Klank .ar( `[freqs, nil , rings ...
-
... = 1, sustain, amp = 1, ar = 0, dr = 0.01 | Out .ar(out, DiskIn .ar(2, bufnum) * Linen .kr(gate, ar, 1, dr, 2) * EnvGen .kr( Env .linen(0, sustain - ar - dr max: 0 ,dr),1, doneAction: 2) * amp) }); The control sustain determines playback dur ...
-
... and (0.0,0.4)], 0, 0.3)), XLine .kr( Rand (4000,5000), Rand (2500,3200), 1) ) * Linen .kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut .ar(out, Pan2 .ar(z, pan, amp)); }, [ \ir ]); When an event plays a synth, any values stored in the event under th ...
-
... ndex = 1, ar = 0.1, dr = 0.1| var z; z = LPF .ar( PMOsc .ar(freq, freq * ratio, Linen .kr(gate, ar,index, dr), 0, 0.3), XLine .kr( Rand (4000, 5000), Rand (2500, 3200), 1) ) * Linen .kr(gate, 0.01, 0.7, dr, 2); OffsetOut .ar(out, Pan2 .ar(z ...
-
... lay; ) ( SynthDef ( \help_Pdfsm2 , { arg freq, gate=1; var n=8, env, osc; env = Linen .kr( gate, 0.01, 1, 0.03, 2 ); osc = { Mix .fill( n, { arg i; FSinOsc .ar(freq + Rand (-2.0,2.0), Rand (0, 0.05pi)) ring4: FSinOsc .ar(freq * (i+1)); })}. ...