-
... c); "" }; a.performKeyValuePairs( \value , [ \a , 1, \b , 2, \c , 3, \d , 4]); loop Repeat this function. Useful with Task and Clocks. t = Task ({ { "I'm loopy" .postln; 1.wait;}.loop }); t.start; t.stop; defer(delta) Delay the evaluation ...
-
... inStep ? (128/44100); playAction = { playRoutine = Routine({ pos = pos - step; loop { pos = pos + step; { this.update }.defer; step.wait; } }); playRoutine.play; }; stopAction = { playRoutine.stop; }; returnAction = { pos = 0; this.update; ...
-
... 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 ...
-
... 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 ...
-
... ss] = Task { var bis = 0, event, bisher, zukunft; "\n===== START =====".postln; loop { event = keller[\inhalt][bis]; event !? { "STEP TO %\n".postf(event[\wort]) }; if(event.notNil and: { event[\type] == \verb }) { "\n======= VERB: %\n".pos ...
-
... hore.hang; } unhangSemaphore { if(semaphore.test.not, { semaphore.unhang; }); } loopFunc { | action | //Unpack things var condition = action[0]; var func = action[1]; if(condition.value, { //If condition, execute it and remove from the List ...
-
... ly one can use the approach from the pattern guide. Why search the net for drum loops in your preferred tempo if you can easily generate them yourself? ( s.waitForBoot({ var gen, swingify; var presets; var composite; if (MIDICli ...
-
... tream.value(inEvent); Prout({ |event| { event = ~noteStream.next(event).yield }.loop }); }; ~asPattern = #{ |inEvent| var out, argPairs; if(~fitFactors.notNil) { inEvent = inEvent.copy.put(\fitnessOverride, ~fitFactors); }; out = Pbind( \no ...
-
... f, [\in, ~bus, \out, 0]); { ~cluster.value; rrand(5.5,12.0).wait; }.loop; }.start; ) //stop clusters t.stop;
-
... jump_to_prev", { |marker, score| // jump to the previous marker and play (basic looping) score.toPrevMarker; }) ); presetManager.put( \reset_eq_and_level, UMarker(0,0, "reset_eq_and_level", { |marker, score| // set global level to 0dB: UGlo ...