-
... nvGen.kr(Env.new([0, 1, 1, 0], [0.003, 0.3, dur - 0.5]), doneAction:2); op3 = SinOsc.ar(([67, 70, 74].midicps * ratio3), mul:[67, 70, 74].midicps * ratio3 * index3) * env3; op2 = SinOsc.ar((([67, 70, 74].midicps * ratio2) + op3), mul:[6 ...
-
... 0); vibrate = LinExp.kr(ctrl[0],0,1,1,500); tremrate = 100*ctrl[1]; a = SinOsc.ar(f + (f * SinOsc.ar(vibrate,0,0.1)),0, mul: ctrr[1])* SinOsc.kr(tremrate); Out.ar([0,1], a) }).add; x=Synth.new(\theremin); x ...
-
... .01],\step).ar(0, Impulse.ar(1 )) ; b = FreeVerb.ar(b, 0.5, 0.4)*2.5; c = SinOsc.ar(40) * Env.perc(0.01,0.2).ar(0, TDuty.ar(Dseq([1/4,1/2,1/8,1/8],inf))); 5.do{ c = (c.distort + c)*0.75}; c = c * 1.5; d = LPF.ar(Saw.ar([20,47] ...
-
... pulseMin, pulseMax); var proxy = Ndef(\x).ar * proxyMul; var ampModFreq = SinOsc.ar(0.01, 0).range(0.3, 30); var ampMod = LFNoise1.ar(ampModFreq, 6); output = SinOsc.ar(mainPulse + proxy, 0, ampMod).tanh; numOfEchos.do{ d ...
-
... Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) ( { var a, freq, trig; a = Dxrand ([1, 3, 2, 7, 8], inf ); trig = Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, ...
-
... var snare, filtWhite; filtWhite = LPF.ar(WhiteNoise.ar(1), 7040, 1); snare = ((SinOsc.ar(330,0,0.25) * EnvGen.ar(Env.perc(0.0005,0.055)))+(SinOsc.ar(185,0,0.25) * EnvGen.ar(Env.perc(0.0005,0.075)))+(filtWhite * EnvGen.ar(Env.perc(0.0005,0. ...
-
... d. // mono ( SynthDef ( \help_out , { arg out=0, freq=440; var source; source = SinOsc .ar(freq, 0, 0.1); // write to the bus, adding to previous contents Out .ar(out, source); }).send(s); ) Synth ( \help_out , [ \freq , 500]); Synth ( \hel ...
-
... alloc(s, 512, 1, { |buf| buf.chebyMsg([1, 0, 1, 1, 0, 1]) }); ( { Shaper.ar( b, SinOsc.ar(300, 0, Line.kr(0, 1, 6)), 0.5 ) }.scope; ) b.free; ⧉ ✔ Wave shaping transfer functions are typically designed by using Chebyshev polynomials to contr ...
-
... , Line.kr(100, 800, 12), 0.1) }.scope(1, zoom: 4); ⧉ ✔ Band Limited Oscillators SinOsc , FSinOsc , Blip , Saw , Pulse - will not alias. SinOsc , FSinOsc arguments: frequency, phase, mul, add { SinOsc.ar(SinOsc.kr(SinOsc.kr(0.2,0,8,10),0, 40 ...
-
... ge of it (invert phase) ( { var freq = 100, in, ina, inb; //Input wave - To use SinOsc.ar, replace "iphase: 2" with "phase: 3pi/2" in = LFPar.ar(freq: freq * 2, iphase: 2); //Mirroring the wave around the x-axis ina = in.range(0, 1); inb = ...