-
... var env, src; pos = Rand (posDev.neg, posDev) / BufDur .kr(sndBuf) + pos; src = PlayBuf .ar(1, sndBuf, BufRateScale .kr(sndBuf) * rate, 1, round(pos * BufFrames .kr(sndBuf)), 1, 2); env = EnvGen .ar( Env ([0, amp, amp, 0], [att, granDur - a ...
-
... | var env, src; pos = Rand(posDev.neg, posDev) / BufDur.kr(sndBuf) + pos; src = PlayBuf.ar(1, sndBuf, BufRateScale.kr(sndBuf) * rate, 1, round(pos * BufFrames.kr(sndBuf)), 1, 2); env = EnvGen.ar( Env([0, amp, amp, 0], [att, granDur - att - ...
-
... ; s.sync; // wait until load is done and then send the rest of the bundle x = { PlayBuf.ar(1, b) * 0.5 }.play; }); ) x.free; b.free; ⧉ ✔ . bind ( func ) Just as in makeBundle , the Function func is evaluated, and all OSC messages generated ...