-
... ar( Env([0, amp, amp, 0], [att, granDur - att - rel, rel], 0), doneAction: 2 ); OffsetOut.ar(out, Pan2.ar(src, pan) * env); }, \ir!10).add; // posRate of 1 (given by posRateE and posRateM) means // pos movement through the buffer with origi ...
-
... is subject to control rate jitter. Where sample accurate output is needed, use OffsetOut . Note that using the Bus class to allocate a multichannel bus simply reserves a series of adjacent bus indices with the Server object's bus allocator ...
-
... e= EnvGen.ar(Env.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( ...
-
... scFB.ar(freq+d, (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.p ...
-
... scFB.ar(freq+d, (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.p ...
-
... lay; ⧉ ✔ an Impulse with frequency 0 returns a single impulse: SynthDef(\imp, { OffsetOut.ar(0, Impulse.ar(0)); FreeSelf.kr(Impulse.kr(0)) }).add; fork { (1 / (1..60).scramble).do { |dt| Synth.grain(\imp); dt.wait } }; ⧉ ✔ helpfile source: ...
-
... nchronous, // i.e. we have to wait until it is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used w ...
-
... maybe multichan here? sound = PanAz.ar(q.numChans, sound, (pan + [0, 1])).sum; OffsetOut.ar(out, sound ) }).add ); ( q = q ? (); // a dict for keeping things // a keyplayer with a recorder q.fmod = KeyPlayer(\fmod); q.fmod.makeLoop; // spa ...
-
... tion:2); audio = Mix ( Saw .ar(freq)); audio = Pan2 .ar(audio * env, pan, amp); OffsetOut .ar(out, audio) }).add; ( instrument: \multi, freq: [ [500, 501, 700] ], sustain: 2).play ) ( Pbind (*[ instrument: \multi , freq: Prand ([ [[100, 141 ...
-
... , \lin, \lin] ), doneAction:2); u = Pan2.ar(SinOsc.ar(freq, iphase, env), pan); OffsetOut.ar(out, u) }).store; ); ( Pdef(\x, Pbind( \instrument, \sine, \freq, PcollatzLike([111, 14, 23], 2, [1, 2], [0, 8]).trace * 30 + 300, \dur, 0.14 ) ).p ...