-
... nvironment. s.boot; ( var orc; orc = Environment.make { ~a = { |freq, amp, pan| Pan2.ar(SinOsc.ar(freq), pan, amp); }; ~b = { |amp, pan, freq| Pan2.ar(RLPF.ar(Saw.ar(freq), freq * 6, 0.1), pan, amp); }; ~c = { |pan, freq, amp| Pan2.ar(Reson ...
-
... v.perc(0, 0.1, amp), doneAction:2); z= SinOsc.ar(freq, 0, 0.2); OffsetOut.ar(0, Pan2.ar(z*e, pan)); }).add; ); ) // play a pattern on clock t: // clock U following clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \d ...
-
... *0.01).clip(0, 1), amp); DetectSilence.ar(src, doneAction:2); OffsetOut.ar(out, Pan2.ar(src, pan)); }).add; s.sync; Synth(\main, [\in, 40, \out, 0]); ~ps= TraerParticleSystem(0, 0, 0, 0.1); mouse= TraerParticle(1); mouse.position= TraerVect ...
-
... els = 1, the pan argument is ignored. If numChannels = 2, panning is similar to Pan2. If numChannels > 2, panning is the same as PanAz. amp amplitude of the grain. att attack time of grain in seconds. dec decay time of grain in seconds. int ...
-
... 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 ...
-
... e.ar(1, 0.001, ringtime, doneAction: 2); var snd = SinOsc.ar(freq); Out.ar(out, Pan2.ar(env * snd, pan, amp)); }).add ); // use Peuclid to control amplitude via Pkey: ( Pbind( \hit, Peuclid(7, 12, inf), \amp, Pkey(\hit) * 0.2, \instrument, ...
-
... pruceBudworm.ar(Impulse.kr(MouseY.kr(1,50,'exponential')),0.1))}.play {Out.ar(0,Pan2.ar(0.5*(SpruceBudworm.ar(Impulse.kr(MouseX.kr(1,50)),0.1,24.8,0.5,initx:MouseY.kr(0.2,1.2))[0])))}.play {10.0*(SpruceBudworm.ar(Impulse.kr(Line.kr(1,200,0. ...
-
... s, amp); var env = Linen.kr(gate, doneAction: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(audio, pan, env)); }).add; ) // Assignment to multiple keys using an Array. // Must come before any keyword arguments. Pbind( [\freq, \sustain], Ptuple( ...
-
... Ndef(\blippy, { var snd = Blip.ar( \freq.kr(440).lag(0.1), \numharm.kr(100) ); Pan2.ar(snd, \pan.kr(0).lag(0.1), \amp.kr(0.5).lag(0.1)) }).play(vol: 0.25); // add a global spec for numharm param (the others exist as defaults) Spec.add(\num ...
-
... rand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; ) s.boot; x = PbindProxy.new; x.set(\instrument, \Pdefhelp); x.play; x.set(\degree, Pseq([0, 2, 5b ...