-
... rn specifies the delta to resched the function for. Returning nil will stop the task from being rescheduled. ( SystemClock.sched(0.0, { |time| time.postln; rrand(0.1, 0.9); }); ) ⧉ ✔ ( SystemClock.sched(2.0, { "2.0 seconds later".postln; ni ...
-
... ate and on a certain schedule, in order to avoid dropouts, glitches, etc. Other tasks, such as loading a sample into memory, might take arbitrary amounts of time, and may not be needed within a definite timeframe. This is the difference bet ...
-
... , ~mix); //move all to new world ~win.resize(~world.dim); //resize window ) //--task xfade ( { 50.do{|i| ~mix= RedUniverse.interpolate(~black, ~blue, i/49); ~world= RedUniverse.migrateAll(~world, ~mix); ~win.resize(~world.dim); 0.1.wait; } ...
-
... oding FOA to HOA1 , we'll use the FOA toolset to target HOA1. The tools for the task are: ordering & normalisation : FoaDecoderMatrix: *newHoa1 reference radius : FoaNFC The steps are: reset FOA reference radius from inf to 1.5 meters decod ...
-
... .flat.do(_.ledVal_(1)); h.flat.do(_.ledVal_(0)); h.flat.do(_.vShiftLabel_(10)); Task { 100.do { |i| defer { h.flat.do(_.angle_(i * 0.1)) }; 0.1.wait; } }.play; h[0][0].ledColors.put(0, Color.black); h[0][0].refresh; h[0][0].ledVal = 3.rand; ...
-
... "Update a fader", "Fader1", 600, 200, 100, 724); // Automate to move p = 0; t = Task({ loop { l.fader("Update a fader", "Fader1", p); p=p+50%924; 0.2.wait; }}).play; t.stop; // Add 30 faders to Lemur on a new page. l.page("Bunch of faders") ...
-
... ts OS thread ⧉ ✔ For convenience pauseable scheduling can be implemented with a Task . Task.new takes two arguments, a function and a clock, and creates it's own Routine . If you don't specify a clock, it will create a TempoClock for you. S ...
-
... t makes sense to schedule objects that will take some action . Function Routine Task ⧉ ✔ Routines and Tasks will be covered in the next section, and Functions we have already seen. There are some others, but these are the best starting poin ...
-
... ntFor minima frameFor analyse analyseFromTo calcAverages toBuffer plot Examples Task Examples (extension) GranularSynthesis Wavesets Extension analyse soundfiles into short fragments for granular synthesis See also: Buffer , Event Descripti ...
-
... argTempo , argStartingTime ) - nextTimeOnGrid ( quant: 1 , phase: 0 ) - play ( task , quant: 1 ) - sched ( delta , function ) - schedAbs ( beat , function ) - secs2beats ( secs ) - tempo - tempo = value Help template Copy and paste the tex ...