-
Pfunc function pattern superclass: Pattern Pfunc(nextFunc, resetFunc) Returns a stream that returns values from the nextFunc. nextFunc - stream function resetFunc - function that is called when the stream is reset. See also: Pfuncn // examp ...
-
Thunk unevaluated value superclass: AbstractFunction Thunk(function) function some function that returns the desired value value return the value. If calculation is done, use previous value, otherwise do calculation. Thunk, "past tense of t ...
-
PlazyEnvir instantiate new patterns from a function superclass: Plazy Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy , the function is evaluated using the environment passed in by the stream Pl ...
-
... for more examples. Array .iota(2, 3); Array .iota(2, 3, 4); *fill2D(rows, cols, function) Creates a 2 dimensional ArrayedCollection of the given sizes. The items are determined by evaluation of the supplied function. The function is passed ...
-
... Return the indexed item in the interval. Interval (10, 30, 4).at(3).postln; do(function) Evaluates function for each item in the interval. The function is passed two arguments, the item and an integer index. Interval (10, 30, 4).do({ arg i ...
-
... s logical time in seconds to this clock's logical time in beats. schedAbs(beat, function) schedules a function to be evaluated at a particular beat . If the function returns an Integer or a Float, it will be re-evaluated at the logical time ...
-
... el buffers instead of a single multichannel one. Completion Messages and Action Functions Many buffer operations (such as reading and writing files) are asynchronous, meaning that they will take an arbitrary amount of time to complete. Asyn ...
-
And What About Functions and Sound? I've probably bored you enough with technical details, so let's get back to making noise, which I assume is why you're reading this after all. Trust me though, all this work will pay off later, and believ ...
-
... rt rows and colums in a two dimensional Collection (turn inside out). See also: Function . [[1, 2, 3], [4, 5, 6]].flop; [[1, 2, 3], [4, 5, 6], [7, 8]].flop; // shorter array wraps [].flop; // result is always 2-d. flopTogether(...moreArrays ...
-
Maybe referentially transparent proxy object Inherits from: Object : AbstractFunction : Ref A Maybe object can contain either nil or some other object, and allows to construct calculations without knowing this other object yet. If the calcu ...