-
... ame thing happens with numbers yielded by a routine. ( r = Routine({ var delta; loop { delta = rrand(1, 3) * 0.5; "Will wait ".post; delta.postln; delta.yield; } }); ) r.next; TempoClock.default.sched(0, r); r.stop; ⧉ ✔ Now let's replace th ...
-
... hainB, chain ; inA = PlayBuf.ar(1, soundBufnum1, BufRateScale.kr(soundBufnum1), loop: 1); inB = PlayBuf.ar(1, soundBufnum2, BufRateScale.kr(soundBufnum2), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain ...
-
... tives to the standard for (int i = 0; i < inNumSamples; i++) { out[i] = in[i] } loop. These efficiency savings are negligible on modern systems and use of these macros is not recommended, especially since they make debugging difficult. LOOP ...
-
... are also sudbivided by a certain numerical value. For example, most jazz songs loop over a single chord progression. the chord progression is usually divided into 4 sections (AABA). those sections are usually divided into 4 cycles. those c ...
-
... 0, env)) }).add; ) ( var a; a = Pgbrown(1.0, 2.0, 0.1, inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; }) }).play; ) // compare with normal brownian motion: ( var a; a = Pbrown(1.0, 2.0, 0.1, ...
-
... Osc.ar(freq, 0, env)) }).add; ) ( var a; a = Plprand(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) // this is equivalent to: ( { loop { Synth(\help_sinegrain, [\freq, min(rrand ...
-
... Osc.ar(freq, 0, env)) }).add; ) ( var a; a = Phprand(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) // this is equivalent to: ( { loop { Synth(\help_sinegrain, [\freq, max(rrand ...
-
... c.ar(freq, 0, env)) }).add; ) ( var a; a = Pmeanrand(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.fork; ) // this is equivalent to: ( { loop { Synth(\help_sinegrain, [\freq, (rrand(0. ...
-
... 2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_MagGate(chain, MouseX.kr(0, 100), MouseY.kr(0, 1)); Out.ar(out, IFFT(chain).dup); }).play(s,[\out, 0, \bufnum, b.b ...
-
... inBufJ. ar ( numChannels: 1 , trigger: 0 , dur: 1 , sndbuf , rate: 1 , pos: 0 , loop: 0 , interp: 2 , grainAmp: 1 , pan: 0 , envbufnum: -1 , maxGrains: 512 , mul: 1 , add: 0 ) Instance Methods Inherited instance methods Undocumented instanc ...