-
... an expression (chooses one at random) { "expression was true".postln }, // true function { "expression was false".postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 }); z.postln; ) UGens can also use if the condition ...
-
Method superclass: Function A Method is code that is a part of the set of operations upon instances of a Class. Accessing ownerClass The Class for which the method is part of the implementation. name A Symbol which is the name of the Method ...
-
... test if object fulfils a constraint Implemented by: Object , Collection , Nil , Function matchItem(item) may be passed to different objects that behave as constraints. More Objects may be conceived to implement matchItem to extend the inter ...
-
... sary tasks. (You can add such a method in your custom classes.) Note that since Function implements -cmdPeriod as a synonym for -value, it is possible to register any function (and thus any arbitrary code) for evaluation when Cmd-. is press ...
-
Plazy instantiate new patterns from a function superclass: Pattern Plazy evaluates a function that returns a pattern and embeds it in a stream. Plazy(func) func: A function that returns a pattern or any other valid pattern input see also: P ...
-
... chain.pvcollect(numframes, func, frombin, tobin, zeroothers) pvcollect applies function func to each bin of an FFT chain. func should be a function that takes magnitude, phase, index as inputs and returns a resulting [magnitude, phase]. Th ...
-
... e of x yi - initial value of y A cubic-interpolating sound generator based on a function given in Clifford Pickover's book Chaos In Wonderland , pg 26. The function is: x n+1 = sin(by n ) + c*sin(bx n ) y n+1 = sin(ay n ) + d*sin(ax n ) Acc ...
-
... of x yi - initial value of y A linear-interpolating sound generator based on a function given in Clifford Pickover's book Chaos In Wonderland , pg 26. The function is: x n+1 = sin(by n ) + c*sin(bx n ) y n+1 = sin(ay n ) + d*sin(ax n ) Acc ...
-
... lue of x yi - initial value of y A non-interpolating sound generator based on a function given in Clifford Pickover's book Chaos In Wonderland , pg 26. The function is: x n+1 = sin(by n ) + c*sin(bx n ) y n+1 = sin(ay n ) + d*sin(ax n ) Acc ...
-
... ist is a Collection whose items are kept in a sorted order. Creation *new(size, function) Creates a SortedList with the initial capacity given by size and a comparison function . Instance Methods add(item) Adds an item in the SortedList at ...