-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... d(4000, 500), Rand(2500, 200), 1), 0.02 ) * Linen.kr(gate, 0.01, 0.7, 0.03, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) Pdefn(\mind, Pseq([1, 0, 1, 1, 0, 1], inf)); ( Pdef(\x, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \n ...
-
... on Language side granulator built upon Task . Same as RedGrain but does not use OffsetOut . Should be less cpu intensive but might sound a bit more rough. Class Methods . new Create granulator (stereo only for now) Arguments: server If nil ...
-
... 0, doneAction: Done.freeSelf).range; var son = FSinOsc.ar(i_freq, 0.5pi, env); OffsetOut.ar(out, Pan2.ar(son, i_pan, i_amp)); }).add; ) // modulating various parameters ( Pdef(\x, Pbind( \instrument, \gabor, \freq, Pbrown(step: 0.01).linex ...
-
... 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: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan ...
-
... layBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOADec5_0.ar(~order.asInteger, playFile, lf_hf: lowfreq_highfreq, xover: crossOver);) }).load(s); s.sync; // we need to load the SynthDef with t ...