-
... alue is never actually output. Phasor is commonly used as an index control with BufRd and BufWr . *ar(trig, rate, start, end, resetPos) *kr(trig, rate, start, end, resetPos) trig when triggered, reset value to resetPos (default: 0, Phasor o ...
-
... nds/a11wlk01.wav" ); ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 10, 1)); BufRd .ar(1, 0, Sweep .ar(trig, BufSampleRate .ir(0))) }.play; ) // backwards, variable offset ( { var trig, pos, rate; trig = Impulse .kr( MouseX .kr(0.5, 10, ...
-
... ndMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0))) ...
-
a simple BufRd with the starting point of lecture randomized by LFNoise1 // you have to write the sample path in the firts line ~bufferdue = Buffer.read(s," WRITE YOUR SAMPLE PATH HERE ", bufnum:2); ( SynthDef.new(\bufbeat, { arg a ...
-
/* ///// These are the settings for NdefPreset('bufRd'): ///// you can edit the textfile, e.g. choosing better preset names, ///// tuning parameter values, or deleting unwanted presets. ///// When done, save the textfile where it is, and // ...
-
... close doors) \ minDur = openLength + closeLength + dur;\ //minDur.poll;\ open = BufRd .ar(\ 1,\ openBufnum, \ EnvGen .ar( Env ([0, BufFrames .ir(openBufnum), 0], [openLength, 0]), gate: Impulse .ar(0)), \ 0, // no loop \ inter\ );\ \ steps ...
-
... ay; // Currently the sound processes that use buffers are: Ndef(\granbuf) Ndef(\bufRd) // You can switch the buffers to use in an Ndef like this: // arguments are: which ndefs should use them, and name the buffers to use: MFdef(\bufSetRange ...
-
... * slice, (pos * slice) + (slice * len), ~dur * len, doneAction: 2); dry = BufRd.ar(2,buff,rd); // time stretch rd1 = LFSaw.ar(1000 / g_size, 1, 0.5, 0.5); hann1 = (rd1 * pi).sin; pos1 = Latch.ar(Line.ar(pos * slice, (pos * ...
-
... Line.kr(0.0,divisions-1,this.duration * timeScale,doneAction:doneAction); }); ^BufRd.kr(1,b,index,loop.binaryValue,4) } readKr { arg position,timeScale=1.0,divisions=512; // position is in X units (seconds) // if timeScale is tempo then x ...
-
... /BufSampleRate.kr(buffer) BufWr.ar(in, buffer, Gate.ar(phasor, stepper<1), 1); ^BufRd.ar(buffer.numChannels, buffer, phasor, 1, interpol); } *kr {|buffer, in, trigger, repeats= 3, interpol= 1| //1=no, 2=linear, 4=cubic var stepper, phasor; ...