-
{SinOsc.ar()}.plot {(SinOsc.ar(220)+SinOsc.ar(220,phase:MouseX.kr(0,2pi)))*0.5}.play
-
... ting one here) {Pan2.ar(Gendy4.ar(initCPs:2))}.play //used as an LFO ( {Pan2.ar(SinOsc.ar(Gendy4.kr(2,4,SinOsc.kr(0.1,0,0.49,0.51),SinOsc.kr(0.13,0,0.49,0.51), 3.4,3.5, SinOsc.kr(0.17,0,0.49,0.51), SinOsc.kr(0.19,0,0.49,0.51),10,10,50, 350) ...
-
... , 0.0001) a.set(\thresh, 0.1, \lag, 0.5) a.free b.free //-- a= {RedDestroyer.ar(SinOsc.ar([400, 404]), SinOsc.ar(0.5, 0, 0.25, 0.25), Saw.ar(8)*0.1)}.play a.free //-- a= {RedDestroyer.ar(SinOsc.ar([400, 404]), SinOsc.ar(1/3, 0, 0.25, 0.5), ...
-
... ng pushed as currentEnvironment p = AlgaProxySpace.boot; //A simple node ~a = { SinOsc.ar(100) }; ( //Use it as FM input for another node ~b.play(chans:2); ~b.interpTime = 2; ~b.playTime = 0.5; ~b = { SinOsc.ar(\freq.ar(440)) }; ~b.from(~a, ...
-
... Instance Methods Inherited instance methods Examples // compare: ( { var mod = SinOsc.kr(Line.kr(1, 10, 10)); SinOsc.ar(mod * 400 + 500) * 0.1 }.play; ) ( { var mod = SinOsc.kr(Line.kr(1, 10, 10)); SinOsc.ar(LinExp.kr(mod, -1, 1, 100, 900) ...
-
... Inherited instance methods Examples // a stereo signal, both channels at 0dB { [SinOsc.ar(440), SinOsc.ar(440)] }.play // using Balance on a stereo signal with the position parameter at 0, effectively the same sound but both channels at -3d ...
-
... ; env4=EnvGen.ar(Env([0,1,0],[op4att,op4dec],[0,-5]),doneAction:0); op4=SinOscFB.ar((pitch+op4tune).midicps,env4*feedbackamt); op4=op4*env4; op4=op4*op4amt; op4; env3=EnvGen.ar(Env([0,1,0],[op3att,op3dec],[0,-5]),doneAct ...
-
... nthDef("help-copyPhase", { |out = 0| var inA, chainA, inB, chainB, chain; inA = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); inB = WhiteNoise.ar(0.2); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), ...
-
... //////////////////////////////////////////////////////// For example, compare { SinOsc.ar(500, 0, 0.5) }.scope; ⧉ ✔ to { SinOsc.ar(500, 0, 0.5).distort }.scope; ⧉ ✔ The .distort message modulates the SinOsc to create more partials. //////// ...
-
... ut,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(freq,0,0.7); a = Pan2.ar(ToggleFF.ar(TDelay.ar(z,delayTime)) * SinOsc.ar(freq), SinOsc.kr(3,0), 0.6); out = Pan2.ar(z, SinOsc.kr(5,1.0p ...