-
... rg numChannels, bufnum=0, rate=1.0, gate=1.0, startPos=0.0, startLoop, endLoop, interpolation=2; ^this.multiNew('audio', numChannels, bufnum, rate, gate, startPos, startLoop, endLoop, interpolation) } init { arg argNumChannels ... theInputs ...
-
... lay // play back with double speed - heavy aliasing occurs with BufRd and cubic interpolation { Pan2.ar(BufRd.ar(1, b.bufnum, Phasor.ar(1, 2, 0, BufFrames.ir(b.bufnum)))) }.play // no aliasing with BLBufRd { Pan2.ar(BLBufRd.ar(b.bufnum, Pha ...
-
... New('audio',bufnum).madd(mul, add); } } //optional to add later; wrapbehaviour, interpolation type WaveTerrain : UGen { *ar { arg bufnum=0, x, y, xsize=100, ysize=100, mul = 1.0, add = 0.0; ^this.multiNew('audio',bufnum, x, y, xsize, ysize) ...
-
... } *getCentroid { |bufnum, classif, ndims| ^BufRd.kr(ndims + 1, bufnum, classif, interpolation: 1)[..ndims-1]; } }