-
... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_RandComb (chain, MouseY .kr, Impulse .kr(0.4)); Out .ar(out, IFFT (chain).dup); }).play(s,[ \out , 0, \ ...
-
... = Routine { 199.yield; 189.yield; 200.idle(6); 199.yield; 189.yield; }; fork { loop { r.value.postln; 1.wait; } } ); // the value can also be a stream or a function ( r = Routine { 199.yield; 189.yield; Routine { 100.do { |i| i.yield } }.i ...
-
... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT (bufnum, in); chain = PV_MagClip (chain, MouseX .kr(0, 50)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \bufnum , b, \sou ...
-
... 5], inf ), Pseq ([0, 0, 1, 0, Pn (0, {30.rand}), 0, 1, 1], inf ) ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 200 + 200]); 0.02.wait; } }.fork; )
-
... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_LocalMax (chain, MouseX .kr(0, 100)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \soun ...
-
... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); chain = PV_MagSmear (chain, MouseX .kr(0, 100)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \soun ...
-
... [0, 0, [0, 4, 7], [1, 5, 8], [2, 6, 9]], inf ) + 67; x = c.asStream; Routine ({ loop({ Synth ( "help-sinegrain" , [ \freq , x.next.midicps]); 0.17.wait; }) }).play; )
-
... was it" .postln }).play; stream.play(clock) returns the stream the stream will loop until it returns nil FuncStream ({ "ok, that was it" .postln; 1 }).play; pausestream.play(clock) / task.play(clock) returns the stream a = PauseStream .new ...
-
... ist; pat.list = list.put(list.size.rand, 2); }, 15), inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , (a.next*5+77).midicps]); 0.13.wait; }) }).play; )
-
... (freq, 0, env)) }).add; ) ( var a; a = Pexprand (0.0001, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )