-
... ted instance methods Examples Classes | Scheduling Scheduler : Object schedules functions to be evaluated in the future Source: Clock.sc Description A Scheduler can be used to schedule and reschedule functions to be evaluated at a specific ...
-
... cription In certain cases it may be useful to make an object perform a specific function when receiving a predefined message from another given object. For example, a GUI element may want to update its state when the state of a server objec ...
-
... ogram fails for unknown reasons. DiffString throws an error before it calls any function then. Class Methods . new Arguments: insertFunc Specify what to do when a new element is inserted in the result. As arguments are passed: newToken, ind ...
-
... this.yield; } asStream { ^Routine({ this.embedInStream }).asStream } detect { |function| var next, stream; stream = this.asStream; while { next = stream.next; next.notNil } { if (function.(next)) { ^next } }; ^nil } collect { |function| ^t ...
-
... if you are overloading your system or not. userFunc_(arg1) userFunc This is the function you need to provide if you are going to use this system other than visualization purposes. At each generation, this function is passed in the alive/dea ...
-
... he host computer. Inherited class methods Instance Methods . onButton Provide a function to be called whenever a button press or release is detected. A function to call. The function will be called with three arguments. The first argument i ...
-
... - new presets on the sounds - new sounds - new mainfx presets - optionally, add function to onData to trigger when big change. ToDo: maybe split into separate functions for tracking and triggering? Tune: // trig func by hand NTMI.flatcat.on ...
-
... are started and/or stopped in rapid succession. Task.new(func, clock) func - A Function to be evaluated. clock - A Clock in which to play the Routine . If you do not provide a Clock the default is an instance of TempoClock. Remember that m ...
-
... sertEquals(satie.status, \running, "Status should be \\running when waitForBoot function is evaluated"); foo = true; cond.unhang; }); cond.hang; timeout.stop; this.assertEquals(foo, true, "Satie.waitForBoot should have executed its onComple ...
-
( //First argument of Alga.boot can be a function to be executed //as soon as server boots, similarly to Server.waitForBoot Alga.boot({ a = AlgaNode({ SinOsc.ar(\freq.kr(50) + \fm.ar(0)) }); b = AlgaNode({ Saw.ar(\freq.kr(3) + \fm.ar(0)) }) ...