-
... vel,acc,mass,size }.dup(n); synths= {Synth(\fm, [\amp, 0])}.dup(n); s.sync; //--loop w.draw{ var set; Pen.width= 3; set= Set.new; world.objects.do{|o, i| o.addForce(world.gravity); world.objects.do{|oo, j| if(i!=j, { if(o.collide(oo), { set ...
-
... Action= {|val| "filter cutoff frequency ratio: %".format(val).postln}; //--read loop task= Routine({ var line= ""; this.setSamplingRate(rate); this.setFilterCutoff(cutoff); inf.do{ var byte= port.read; //byte.postln; //debug if(mute.not, { ...
-
... ctor[width, height], wgrav, 30, 0.1); //dim,grav,maxvel,damp ~world= world; //--loop w.draw{ var dead= List.new; world.objects.do{|o, i| o.addForce(world.gravity); o.update; if(o.age<=0, {dead.add(o)}); //--render Pen.fillColor= Color.red; ...
-
... 0, \amp, 0]); }, { Synth(\saw, [\beat, 0, \amp, 0]); }); }.dup(n); s.sync; //--loop w.draw{ if(0.005.coin, {world.gravity= RedVector2D[0.01, -0.7.rrand(0.7)]; world.gravity.postln}); sys.do{|o, i| var freq, amp, pan; o.loc= o.loc+RedVector ...
-
... wValue; size = splsourcefile[0].sampleRate*newValue; //??? } length{ ^size; } //looped die periode loop{arg n; n.do{parent.addlist.add([this,this.copy])}; } appendIntoParent{arg c; parent.addlist.add([this,c]); } //loescht die perio3de dele ...
-
... d of group 0 \tempo, clock.tempo, \subd, subdiv, \bus, bus.index]); 1.0.wait; }.loop; }); clock.schedAbs(clock.elapsedBeats.roundUp, aliveThread); } stop { aliveThread.stop; aliveThread = nil; } remove { this.free } free { this.stop; bus.fr ...
-
... d of group 0 \tempo, clock.tempo, \subd, subdiv, \bus, bus.index]); 1.0.wait; }.loop; }); clock.schedAbs(clock.elapsedBeats.roundUp, aliveThread); } stop { aliveThread.stop; aliveThread = nil; } remove { this.free } free { this.stop; bus.fr ...
-
... ,acc,mass,size }.dup(n); synths= {Synth("fm3Dtest", [\amp, 0.5/n])}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.grey(0.5); Pen.strokeRect(Rect.aboutRedVector3D(RedVector[width/2, height/2, depth], width/2, width, height, depth, ss, ff)) ...
-
... scaledPoint; point = startPoint.next.asPoint; // only polled once point.yield; loop { rradius = radius.next.asPoint; ccenter = center.next.asPoint; step = stepSize.next; step = (step[0].asFloat rrand: step[1]) @ (step[0].asFloat rrand: ste ...
-
... re default repeats = inf of PLshuf has no effect: // new permutation with every loop as Pshuf has repeats = 1 ~a = [ Pshuf ((60..65)), 70, PLshuf ((75..80)) ]; // both Patterns have repeats = inf, // permutation is kept ~a = [ PLshuf ((60.. ...