-
... 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 ...
-
... normal Out UGen for writing to its bus. If sample accurate playback is needed ( OffsetOut ), the ProxySynthDef class variable ProxySynthDef: -sampleAccurate can be set to true. Note that for audio through from external sources, this creates ...
-
... 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 ...
-
... lip.ar(freq, nharms, 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, ...
-
... 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 ~ ...
-
... f(\vgAmpTest, { |out, gate=1, freq=489.075, ring=3, attack=0.003, amp=0.1, pan| OffsetOut.ar(out, Pan2.ar( FSinOsc.ar([1, 2, 3, 4] * freq, mul: ([1, 2, 3, 4] ** -3).normalizeSum).sum * EnvGen.ar(Env([0, 1, 0.001], [attack, ring], [-3, \exp] ...
-
... ayGrain, az, el); reDirect = HOAEncoder.ar(~order.asInteger, monoBeam, az, el); OffsetOut.ar(0, reDirect) }).load(s); ) ⧉ ✔ Now you can play the Synth, but you won't hear a properly decoded sound but only the W and the Y channel in the ster ...
-
... r(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 ~lo ...