-
... ; x.postln; ) ⧉ ✔ while The while message implements conditional execution of a loop. If the testFunc answers true when evaluated, then the loopFunc is evaluated and the process is repeated. Once the testFunc returns false, the loop termina ...
-
... s methods Instance methods app channels cables inlets outlets autoCable endBeat loop bpm master frameRate position nextID register atID findID unregister registerUnit registerChannel findMasterInput add channelAt indexOfChannel extendChanne ...
-
... nal analysis. NOTE: Each reversal of direction in time starts a new partial, so loops appear as overlapping partials. An ATS partial is single-valued per time point; genuine loops cannot be represented otherwise. Class Methods . open Boots ...
-
... , 20, -0.25); //dim,grav,maxvel,damp //--system sys= RedParticleSystem.new; //--loop w.draw{ world.gravity= RedVector2D.newFrom(w.mouse/([width, height])-0.5); //--add new particles and update old sys.add(RedParticle(world, w.mouse+5.rand2, ...
-
... , 20, -0.25); //dim,grav,maxvel,damp //--system sys= RedParticleSystem.new; //--loop w.draw{ world.gravity= RedVector2D.newFrom(w.mouse/([width, height])-0.5); //--add new particles and update old sys.add(RedParticle(world, w.mouse+5.rand2, ...
-
... dth, 20].rand, 0, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o| o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4); Pen.strokeRect(Rect.a ...
-
... dth, 20].rand, 0, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o| o.addForce(world.gravity); o.update; world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4); Pen.strokeRect(Rect.a ...
-
... , doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, 0.25, 1); chain = PV_RecordBuf(chain, recBuf, ...
-
... for release, so amp = 0 // doesn't cause synth buildup. }).send(s); ) ( Task { loop({ fork { exprand(34, 156).do { |i| i = i + 1; Synth .grain( \dirac , [ \amp , 1 / i]); (0.006 * i).wait; }; }; 1.wait; }) } .play; )
-
... n, doneAction:2) ) }).send(s); ) // the exact same sound is reproduced ( fork { loop { Synth ( \pseudorandom ); 1.1.wait; // wait a bit longer than sustain, so sounds don't overlap } } ) // changing the rand seed changes the sound: ( fork { ...