-
... Buffer.alloc(s, 2048, 1); CmdPeriod.add(cleanfunc); s.sync; a = { RecordBuf.ar(BrownNoise.ar * EnvGen.ar(Env(#[0, 1, 0], #[0.5, 0.5], \sin), timeScale: b.duration, doneAction: 2), b, loop: 0); 0 }.play; OSCpathRespon ...
-
... other UGen to see when it is finished Done.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr, DbufRd, and the Buffer delay UGens set a 'done' flag when they are finished playing. This UGen echoes that ...
-
... ); u.animate= true; }; ) //some synth that writes into the buffer v= {RecordBuf.ar(Saw.ar, b)}.play //change these while the program is running ~trails= 0.2; ~speed= 0.1; ~speed= -0.05; ~trails= 0.01; ~amp= 0.02; ~speed= ...
-
... pulse-train b = Buffer.alloc(Server.default, Server.default.sampleRate*2, 1); { RecordBuf.ar(Blip.ar(440, SampleRate.ir/440), b.bufnum) }.play // play back with double speed - heavy aliasing occurs with BufRd and cubic interpolation { Pan2. ...
-
... etOnsetTimesList}; Post << b // overdub ( SynthDef("test",{ arg out=0,bufnum=0; RecordBuf.ar(SinOsc.ar(2990*SinOsc.ar(MouseX.kr(1, 20)), 0, MouseY.kr(0, 1)!2), bufnum, 0, 1, 0); // RecordBuf.ar(LoopBuf.ar(2, y.bufnum, 1, 1, 0, 0, y.numFrame ...
-
... sound x var y= SinOsc.ar(83);//sound y var z= SinOsc.ar(164);//sound z RecordBuf.ar([x, y, z], buffer); Silent.ar; }.play; s.sync; can.animate(fps, {|frame| buffer.getn(0, buffersize-1*3, {|data| path= data.clump(3)}); ...
-
... uting synth | bufNum | var in = In.ar( ~plotterIn, 2 ); // Takes an input RecordBuf.ar( in, bufNum, loop: 0, doneAction: 2 ); // And outputs it in our buffer } ).add; ) ( // Demo Synth SynthDef( \demoSynth, { | out = 0, freq = ...
-
... ecord, { |bufnum| var in = InFeedback.ar(whichOrbit.outBus, ~dirt.numChannels); RecordBuf.ar(in, bufnum, loop:0, doneAction:2); }).add; functions[\startRec] = { if(recording) { functions[\stopRec].value }; counter = counter + 1; prevTime = ...
-
... p/PV_PartialSynthF.html help/PV_PartialSynthP.html help/PV_PlayBuf.html help/PV_RecordBuf.html help/Player.html help/ProcEvents.html help/ProcMod.html help/SinGrain.htm help/SinGrainB.htm help/SinGrainBBF.htm help/SinGrainBF.htm help/SinGra ...
-
... \resetPlay.tr(1); var playRate = \playbackRate.kr(1); // recording RecordBuf.ar( in, buffer, loop: 1, recLevel: recLevel * recEnable, preLevel: preLevel, trigger: resetRec ); // playing ...