-
... [which];\ lagTime = msg[5];\ numSteps = lagTime*fps;\ rFps = fps.reciprocal;\ \ Task (\\ numSteps.do\ |i| \ colors[which] = oldColor.valueBlend(color, i/numSteps);\ window.refresh;\ rFps.wait\ \;\ colors[which] = color;\ window.refresh;\ \, ...
-
... se).play } }).play ) // make sound modulation more drastic // can do this while task runs! ( SynthDef(\xxy, {|out, sustain = 1, freq = 440| var env, son; env = Line.ar(1, 0, sustain, doneAction: 2); son = SinOsc.ar(freq * [1, 1.2, 1.5, 1.7] ...
-
... ues have changed. Control-click in top left corner will toggle the auto-refresh task so that values will be continuously updated. This uses a fair bit of CPU. Resize the window or use full screen for best results. Note: the original synthi ...
-
... toggles KeyLoop PLAYBACK alt-L toggles LOOPED on/off alt-F FORKS a (non-looped) task - playOnce alt-G GUI opens for the KeyLoop alt-T TOP focus goes to top control that sets current KeyPlayer // simple random keyboard player ( s.boot; s.lat ...
-
... l time, elapsed time, clock] //use logical beat time so can match up with other tasks running on the tempoclock lastBeat=tempoclock.beats; //lastBeat+1; lastBeatTime= Main.elapsedTime; lastTempo= tempoclock.tempo; this.tick; //"beat!".postl ...
-
... toggles KeyLoop PLAYBACK alt-l toggles LOOPED on/off alt-f FORKS a (non-looped) task - playOnce alt-g GUI opens for the KeyLoop alt-t TOP focus goes to top control that sets current KeyPlayer // not done yet alt-1..9,0 could go to one of to ...
-
... 0.0, 0.0)) .background_(Color(0,0,0)) .font_(GUI.font.new("Optima", 24)) ; r = Task.new({ arg i ; loop({ clockField.string_((thisThread.seconds-runner.startTime).asTimeString) ; 1.wait })// a clock refreshing once a second }).play(AppClock ...
-
... ce: Quant.sc Description Represents the standard scheduling model for Routines, Tasks and Patterns. A Quant object stores the parameters needed to calculate the precise time when a Routine/Task/Pattern will start playing on a specified Temp ...
-
... randomSeed, [\freq, rrand(440, 700)]); 0.25.wait; }) }).play; ) // make a reset task ( d = 1250;// seed t = Task({ loop({ x.set(\seed, d, \tbus, 1.0); r.randSeed = d; 0.1.wait; x.set(\tbus, 0.0); 1.9.wait; }) }); ) // sound starts to loop t ...
-
... after using for release, so amp = 0 // doesn't cause synth buildup. }).add; ) ( Task { loop({ fork { exprand(34, 156).do { |i| i = i + 1; s.sendMsg("/s_new", "dirac", -1, 0, 0, \amp, 1 / i); (0.006 * i).wait; }; }; 1.wait; }) } .play; ) ⧉ ✔ ...