-
... 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)); }).memStore; ); ) // play a pattern on clock t: ( Pdef ( \a , Pbind ( \instrument , \ping , \degree , Pseq ((0..7), inf ), ...
-
... var x = SinOsc.ar(\freq.kr(440)); var env = EnvGen.ar(Env.perc, doneAction:2); OffsetOut.ar(\out.ir(0), x.dup * env * \amp.kr(1)); }).add; ) ( //This doesn't work with arrays [440, 660] yet (needs to trigger 2 synths). Check eventTypes -> ...
-
... //Also, note the 'sampleAccurate' argument. This allows the AlgaSynthDef to use OffsetOut instead of Out //for sample accurate retriggering. AlgaSynthDef(\sinePerc, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, sampleAccurate: true).add; //Wai ...
-
... ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Writes to the correct busses... This allows for interplation to work correctly even when switching m ...
-
... doneAction:2);\ u = SinOsc .ar(freq, SinOsc .ar([freq2, freq3]) * 0.4) * env;\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ e = [ MarkovNet (c), MarkovNet (x)];\ (\ e.do( _ .function = \ |data| \ data.postln;\ Synth ( \ , [[ \ , \ , \ ], data ...
-
... width, loop:0, doneAction: 2).range; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor, note: ~module.next * 4, sustain: dt * 1.5, // 50% overlap width: 0.3 ) ...
-
... { arg out=0, amp=1.0, pan=0; var trig; trig = Impulse.ar(1); FreeSelf.kr(trig); OffsetOut.ar(out, Pan2.ar(trig * amp, pan)) }, [\ir, \ir, \ir]).add; ); ( // main grain, classic gabor. SynthDef('grain', { arg out = 0, freq=800, sustain=0.01, ...
-
... ared have sampleAccurate:false so that the AlgaSynthDef will use Out instead of OffsetOut. This is FUNDAMENTAL to avoid bugs with sample accuracy. All these definitions are needed FROM THE START of an audio block, and should not be delayed ...
-
... nvGen .kr( Env .sine(dur, amp), doneAction: 2); osc = SinOsc .ar(freq, 0, env); OffsetOut .ar(out, osc); }).memStore; ) // Moving through the lattice with a Pbind ( var index, lattice, basefreq, orient; lattice = Lattice .new; basefreq = 44 ...
-
... Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, Pan2 .ar(sig, pan)); }).add; ) ( // rhythmic variation and partial pitch repetition // play for a while to note slow sliding caused by Pseg ~ ...