-
... hDef(\help_HilbertPDN_ssb, { |out=0, frq=1000, shft=5000, amp=1| var sig; sig = Mix.ar( 5.collect{|i| SinOsc.ar(frq * (i+1), mul: 5.reciprocal * (i+1).reciprocal) } ); Out.ar( out, HilbertPDN.arSSB( sig, freq: shft, mul: amp, ) ) }).add ) / ...
-
... nthDef(\help_HilbertW_ssb, { |out=0, frq=1000, shft=5000, amp=1| var sig; sig = Mix.ar( 5.collect{|i| SinOsc.ar(frq * (i+1), mul: 5.reciprocal * (i+1).reciprocal) } ); Out.ar( out, HilbertW.arSSB( sig, freq: shft, size: 2048, mul: amp, ) ) ...
-
... |out, 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.ar(x ...
-
... e(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 + ...
-
... sig, 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: Done.freeSelf); sig = LPF.ar(sig, ffreq); Out.ar(out, s ...
-
... nthDef(\help_HilbertH_ssb, { |out=0, frq=1000, shft=5000, amp=1| var sig; sig = Mix.ar( 5.collect{|i| SinOsc.ar(frq * (i+1), mul: 5.reciprocal * (i+1).reciprocal) } ); Out.ar( out, HilbertH.arSSB( sig, freq: shft, size: 2048, mul: amp, ) ) ...
-
... env; 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: Done.freeSelf); sig = LPF.ar(sig, ffreq); Out.ar(out, s ...
-
... 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: Done.freeSelf) * ...
-
... // next set value with next switch index ).play; ) p.free; // now things quite mixed up // basic pitches chosen by index sequence defined in hsIndices, reference by Pkey(\theseVals) // switchIndex only determines the added interval // if t ...
-
... ate, 0.1, 1, 1, 2) * amp; sines = SinOsc.ar(freqs +.t [0, 0.5]).cubed.sum; // A mix of 4 oscillators Out.ar(out, sines * env); }, [0, 0.1, 0]).add; ) x = Synth(\arrayarg); x.setn(\freqs, [440, 441, 442, 443]); // Values outside of the array ...