-
... 1.rand+0.05) .phase_(2pi.rand) .phase2_(2pi.rand) .amp_(0.6) .amp2_(0.9) }; //--loop w.draw{ world.objects.do{|o, i| o.couple(world.objects.wrapAt(i-1), world.objects.wrapAt(i+1)); }; world.objects.do{|o| o.update}; //--render Pen.width= 5; ...
-
... ( var t; a = Pprob([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distribution = [0, 0, 0, 0, ...
-
... e for a given source. stream. Stream a sound file from disk for a given source. Loop. Loop the loaded soudfile file. audition. Use this button to audition a given source. Note that the transport also plays and cues sounds, the "audition" bu ...
-
... rited class methods Instance Methods . port the SerialPort . . close stops main loop and closes the serial port. Inherited instance methods Examples SerialPort.listDevices; //just posting data c= CytonSerial("/dev/tty.usbserial-DM00DRM0", d ...
-
... ], [\dur, 0.5] ], [\instrument, \default, \amp, 0.05, \pan, 0]); Block.play(5, \loop, \marilyn1); ) /*( Block.play(1, \pattern, \nobuf, \test1, data: [\pan, -1]); //be aware that default synth is stereo, therfore pan -1 to avoid issues of d ...
-
... atDifPlayer_start Start playback from the beggining of the document. Arguments: loop Set the looping. 1 for one-shot, 2 for two repetitions... inf for eternal repeat . spatDifPlayer_play Starts playback from where it was paused last time. . ...
-
... t(\numbeats, 12, \numhits, 7, \dt, 0.25); Tdef(\euclid, { |ev| var currval = 0; loop { currval.postln; currval = (currval.round(10e-10) % ev[\numbeats]).postln; ev[\numbeats].do { |i| var isHit = (currval.round(1) == i); [currval, i, isHit] ...
-
... sleeping through math class x = Pbrown(0.01, 2.0, 0.2, inf).asStream; Routine({ loop({ Synth.grain("help-Linen", [\freq, (rrand(20, 50) * 2).midicps, \releaseTime, x.next]); 0.25.wait; }) }).play(TempoClock.default) ) ( SynthDef("help-Linen ...
-
... s= c.collect{|x| RedGAPhenome(x).asSynthDef2.play(s, [\amp, 0])}; 0.5.wait; //--loop w.draw{ 4.do{|i| Pen.fillColor= Color.red(0.5, i+1/4); Pen.fillOval(Rect.aboutRedVector2D(w.mouse, 4-i/3*25)); }; world.objects.do{|o, i| var amp= 0; o.add ...
-
... 75, 77, 79], 6), Pshuf(#[48, 53, 55, 58], 2) ], inf ).midicps.asStream; Task({ loop({ Synth( \help_SPE3_SimpleSine, [\freq, a.next] ); 0.3.wait; }); }).play; ) ⧉ ✔ Math operations on ListPatterns Pattern b plays pattern a once normally, on ...