-
... 0, env)) }).send(s); ) ( var a; a = Plfnoise0 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )
-
... .kr(1)); var pos= \pos.kr({1.0.rand}!this.numChannels)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var rand= Impulse.kr(1/BufDur.ir(buf)*rate*LFNoise1.kr(0.1, 0.2, 0.6), 0, 1-loop); ( PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), \trig.tr+r ...
-
... , RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForce(o.gravityForce(oo)); if(o.loc.distance(oo.loc)<(o.size*2), { o.addForce(o.gr ...
-
... 0, env)) }).send(s); ) ( var a; a = Plfnoise1 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )
-
... 0, env)) }).send(s); ) ( var a; a = Plfnoise2 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )
-
... 50) //world,loc,vel,acc,mass,size .theta_(-1).angularVel_(-0.5); }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.width= 1; world.objects.do{|o| o.addForceAngular1D(world.gravity); //o.addForce(world.gravity); o.update; //world ...
-
// make an Influx with KtlLoop for gesture recording. ( q = q ? (); a = Influx([\x, \y], [\a, \b, \c,\d, \e, \f, \g, \h], (x: 0.5, y: 0.1)); q.iogui = InfluxIOWGui(a).moveTo(411, Window.screenBounds.height ); // Make a KtlLoop. Its function ...
-
... ssible for the synthdef to change, // so we can't collect them once outside the loop // no good interface to get synthdesc... lib = event[\synthLib] ?? { SynthDescLib.global }; desc = lib[event[\instrument].asSymbol]; if(desc.notNil) { msgF ...
-
... Stream, state; parse { msg = Array[]; msgArgStream = CollStream(); state = nil; loop { this.parseByte(port.read) }; } finishArg { var msgArg = msgArgStream.contents; msgArgStream.reset; if (msgArg.notEmpty) { msg = msg.add(msgArg); } } pars ...
-
... r.asGetter, *args ) } { ^this.get( selector ); }; } rate { ^this.get( \rate ) } loop { ^this.get( \loop ) } size { ^this.get( \size ) } reset { |obj| // can use an object to get the defaults from this.args = this.defaults( obj ); } checkByp ...