-
... ting the source: NodeProxy keeps a number of slots which can be sources and are mixed on the same bus.. The default source is the slot 0. All objects can be exchanged while running, and also before and after. Normally, the source is active ...
-
... , w; fc = LinExp .kr( LFNoise1 .kr( Rand (0.25, 0.4)), -1, 1, 500, 2000); osc = Mix .fill(8, { LFSaw .ar(freq * [ Rand (0.99, 1.01), Rand (0.99, 1.01)], 0, amp) }).distort * 0.2; eg = EnvGen .kr( Env .asr(1, 1, 1), gate, doneAction:2); out ...
-
... ate, 0.1, 1, 1, 2) * amp; sines = SinOsc .ar(freqs +.t [0,0.5]).cubed.sum; // A mix of 4 oscillators Out .ar(0, sines * env); }, [0, 0.1, 0]).add; ) x = Synth ( \arrayarg ); x.setn( \freqs , [440, 441, 442, 443]); // Don't accidentally set ...
-
... f.value(10, 2); // regular style f.value(b: 2, a: 10); // keyword style You can mix regular and keyword style if you like, but the regular args must come first: f = { arg a, b, c, d; (a + b) * c - d }; f.value(2, c:3, b:4, d: 1); // 2 + 4 * ...
-
... " , { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .a ...
-
... g, env = Env .adsr(0.01, 0.3, 0.4, 0.1); freq = Lag .kr(freq, slideTime); sig = Mix ( VarSaw .ar([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) ...
-
... g, env = Env .adsr(0.01, 0.3, 0.4, 0.1); freq = Lag .kr(freq, slideTime); sig = Mix ( VarSaw .ar([freq, freq * detune], 0, width, preamp)).distort * amp * EnvGen .kr(env, gate, doneAction: 2); sig = LPF .ar(sig, ffreq); Out .ar(0, sig ! 2) ...
-
... adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix .ar([ Pulse .ar(freq, 0.9), Saw .ar(freq*1.007)]); sig = RLPF .ar(sig, fcurve, rq) * EnvGen .kr( Env .adsr(0.04, 0.2, 0.6, 0.1), gate, doneAction:2) * amp; ...
-
... ( \default , { arg out=0, freq=440, amp=0.1, pan=0, gate=1; var z; z = LPF .ar( Mix .new( VarSaw .ar(freq + [0, Rand (-0.4,0.0), Rand (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 ...
-
... " , { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .a ...