-
... yTime = 0.5, attackTime = 0.005, amp = 0.1, gate = 1| var env, sig = Decay.ar(Impulse.ar(0), decayTime, Saw.ar(freq)); env = EnvGen.ar(Env.asr(attackTime, amp, decayTime, \lin), gate, doneAction: 2); Out.ar(out, sig ! 2 * env) }).add; // sp ...
-
... overridden. a = NodeProxy(s); a[0] = { |freq = 440, dt=0.1, rate=2| Ringz.ar(Impulse.ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind( \dur, Prand([1, 0.5], inf), \freq, Pwhite(200.0, 1000, inf), \rate, Pdup(4, Prand([1 ...
-
... tichannel Expansion { Klank.ar(`[[800, 1071, 1153, 1723], nil, [1, 1, 1, 1]], Impulse.ar(2, 0, 0.1)) }.play; { Klank.ar(`[[800, 1071, 1353, 1723], nil, [1, 1, 1, 1]], Dust.ar(8, 0.1)) }.play; { Klank.ar(`[[800, 1071, 1353, 1723], nil, [1, 1 ...
-
... ut // set its source p[\out] = { SinOsc.ar([350, 351.3], 0, 0.2) }; p[\out] = { Pulse.ar([350, 351.3] / 4, 0.4) * 0.2 }; p[\out] = Pbind(\dur, 0.03, \freq, Pbrown(0, 1, 0.1, inf).linexp(0, 1, 200, 350)); // route one proxy through another: ...
-
... ate = 1, pan = 1, cut = 4000, rez = 0.8, amp = 1| Out.ar(out, Pan2.ar( RLPF.ar( Pulse.ar(freq, 0.05), cut, rez), pan) * EnvGen.kr(Env.linen(0.01, 1, 0.3), gate, amp, doneAction: Done.freeSelf); ) }).add; ) ( Pbind(\instrument, \acid, \dur, ...
-
... dTrk(\test14, n, #[14]); } ) RedMst.play(0) //section 0 - only steady reference pulse RedMst.goto(1) //pbind RedMst.goto(2) //pdef RedMst.goto(3) //tdef RedMst.goto(4) //ndef RedMst.goto(5) //routine RedMst.goto(6) //patch RedMst.goto(7) // ...
-
... fenvmod,envperc,dur,tempo; var gate; gate = Trig1.kr(1.0,dur / tempo); RLPF.ar( Pulse.ar( freq, width ), EnvGen.kr(fenv,gate,levelScale: fenvmod), rq) * EnvGen.kr(envperc,gate,0.3, doneAction: 2) },[ // using the beat to index into chord ch ...
-
... UGen which has the two operands as inputs. { var a, b; a = LFSaw.ar(220); b = LFPulse.ar(1442); [a, b, a * b] }.plot; ⧉ ✔ For an overview of common operators, see Operators , for specific examples, see also e.g. Function , UGen , Pattern . ...
-
... .rand], ["saw", Color.black, Color.rand], ["noise", Color.black, Color.rand], ["pulse", Color.black, Color.rand] ]) .action_({ |butt| butt.value.postln; }); w.front; ) // does not do action b.value = 2; // does action if it results in a cha ...
-
... // this SynthDef has a strong attack, emphasizing the articulation SynthDef(\sawpulse, { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc.kr(plfofreq, ...