-
... fault.sync; // Copying data from b to c: { RecordBuf.ar(PlayBuf.ar(numchans, b, BufRateScale.ir(b), doneAction: 2), c, loop:0) * 0.1; }.play; Server.default.sync; 1.0.wait; c.loadToFloatArray(action: { |data| // The data recorded to "c" sho ...
-
... ynthDef("help-Buffer",{ arg out = 0, bufnum; Out.ar( out, PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum)) ) }).play(s,[ \bufnum, a[0].bufnum ]); ) Also, in code you can do this: a = XiiDelay.new(s, 2).setInBus_(2).start a.setOutBus_(10) // c ...
-
... 0)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var snd= PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), 1, pos, loop)*amp; Out.ar(out, Pan2.ar(snd*env, pan)); }).add; SynthDef(\sStream_File_2, {|out= 0, freq= 99, amp= 0.1, pan= 0, atk= 0.01, ...
-
... d (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 - rel, rel], 0), don ...
-
... gate2, doneAction: 1); Out.ar(outbus, VDiskIn.ar(sf.numChannels, buffer, rate * BufRateScale.kr(buffer)) * env * pauseEnv) }.asSynthDef; synthdef.send(server); } loadBuffer {arg startTime = 0, bufferSize = 131072; sf.notNil.if({ server.send ...