-
... e,0.1,1,c3,inp,rel,fB); DetectSilence.ar(son, 0.001, doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, pan)); }).add; ) //Use it. ( a = Scale.new( #[0, 1, 3, 5, 7, 8, 10], 12, Tuning.new([0, 0.75, 2, 3.5, 4, 5, 6, 7, 8, 9, 10, 11]), "Custom" ); ...
-
... (freq, amp, rho:rho)*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \instrument, \help_oteypiano, \delta, 1, \dur, 3, \degree, P ...
-
... At(0); SpecFile.all SpecFile.postAll(\space) Ndef(\play3, {arg freq=300, pan=0; Pan2.ar(SinOsc.ar(freq, 0, 0.2), pan) }).play; ModMap.map(Ndef(\play3), \pan, \sin, [\space, \pan], [\freq, 1]); ModMap.map(Ndef(\play3), \freq, ControlFile.rea ...
-
... 0.02), sustain, AmpCompA.kr(freq)*amp), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq), pan, env)) }).add; ) ( a = Plambda( Pseq([ Pfindur(5, Ppar([ Pbind(\note, Plet(\x, Prand([1, 5, 1, [10, 14]], inf)), \dur, 8/3, \pan, - ...
-
... (freq, amp, rho:rho)*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; SynthDef(\piano_soundboard,{ var audio = In.ar([20, 21], 2); audio = OteySoundBoard ...
-
... them up in the environment. ( var a, b, c, n; n = 40; a = { arg freq, amp, pan; Pan2.ar(SinOsc.ar(freq), pan, amp); }; b = { arg amp, pan, freq; Pan2.ar(RLPF.ar(Saw.ar(freq), freq * 6, 0.1), pan, amp); }; c = { arg pan, freq, amp; Pan2.ar(R ...
-
... s.bind { SynthDef("tpulse2", { arg out=0, freq=700, sawFreq=440.0; Out.ar(out, Pan2.ar(SyncSaw.ar(freq, sawFreq, 0.1), SinOsc.kr(8)) ) }).send(s); s.sync; // wait until synthdef is loaded x = Synth.new("tpulse2"); a = Bus.control.set(440); ...
-
... Osc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gr ...
-
... z; z= SinOsc.ar(freq+SinOsc.ar(40, 0, beat), 0, Lag.kr(amp, 0.02)); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world= RedWorld( ...
-
... numChannels = 1, no panning is done. If numChannels = 2, panning is similar to Pan2. If numChannels > 2, pannins is the same as PanAz. envbufnum the buffer number containing a signal to use for the grain envelope. -1 uses a built-in Hann e ...