-
... eStream(r); t.start; // prints "go..." 0.1.wait; t.stop; // but stop before the loop prints 0.1.wait; t = PauseStream(r); t.start; // prints "go..." 6.wait; // loop is allowed to run 2 cycles t.stop; }; ) ⧉ ✔ helpfile source: /usr/local/sha ...
-
... s ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.play; ) // Voss algorithm for pink noise // note that pattern.stutter(n) is a synonym for ...
-
... ayed: ~mem.maxMems = 5; // constrain to leave only a single remaining option -> loops Mem.minSize = 1; ~mem.maxMems = ~degrees.size; ~mem.maxMems = 6; // and 2 choices again // dry swimming: ~mem.maxMems = 5; ~recents = (1..10).scramble.kee ...
-
... ); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; } ); //--loop w.draw{ if(command.isNil, { if(cnt>0, { cnt= cnt-1; }, { w.clearDrawing; //clear each generation Pen.translate(lplot.initTranslate.x*width, lplot.initTrans ...
-
... e n agents for startup //--sequence Tdef(\seq, { //play the state of the agents loop{ drums.do{|d, i| //all 4 instruments var amp= world.objects[i].state[\amp].next; world.objects[i].state[\level]= amp; if(amp>0, {d.set(\t_trig, 1, \amp, am ...
-
... es Additional features include a scalable Doppler Effect on moving sources, the looping of sources loaded or streamed from file and the adjustment of the virtual loudspeaker angle for stereo sources. Further, a "contraction" control enables ...
-
... fferSize Maximum size for the value buffer when protected is false. Values will loop after maxBufferSize has been exceeded. protected There are limitations to this ugen: If one copy is called much faster than the slowest, the buffer can ove ...
-
... if you want to play the buffer in // sig = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chain = FFT(LocalBuf(512), sig); onsets = Onsets.kr(chain, MouseX.kr(0, 1), \rcomplex); // You'll hear percussive "ticks" whenever an onset is detecte ...
-
... .coupling_(0.01/n) .freq_(0.05.rand+0.01) .phase_(2pi.rand) .amp_(0.85) }; //--loop w.draw{ world.objects.do{|o| world.objects.do{|p| if(p!=o, { o.couple(p); }); }; }; world.objects.do{|o, i| o.update; o.loc[0]= o.phase.sin*o.amp/2+0.5*wid ...
-
... (0.3); // record some PinkNoise RecordBuf.ar(noise, bufnum); // by default this loops }).play(s,[\out, 0, \bufnum, b]); ) // free the record synth after a few seconds x.free; // play it back ( SynthDef("tutorial-playback",{ arg out=0,bufnum ...