-
... (obj -> numberOfObjects) Bag [ "a" , "b" , "c" , "c" ].contents; Iteration: do(function) Evaluates function for each item in the Bag. The function is passed two arguments, the item and an integer index. Bag [1, 2, 3, 300].do({ arg item, i; ...
-
PlazyEnvirN instantiate new patterns from a function superclass: PlazyEnvir 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 str ...
-
... e by scheduling things on clocks. Clocks A clock in SuperCollider has two major functions. It knows what time it is, and it knows what time things are supposed to happen, so that it can wake them up at just the right time. Musical sequencin ...
-
... all the component patterns. This is related to the computer science concept of "function composition," in which a complex calculation can be written not as a single large function, but as several smaller functions that are then chained toge ...
-
... d. *from64Bits(word) Answer a new Float from a 64 bit word. Instance Methods do(function) iterates function from 0 to this-1. See also: Function , Integer , Collection reverseDo(function) iterates function from this-1 to 0 coin Answers a Bo ...
-
... num - the number of a buffer filled in wavetable format containing the transfer function. in - the input signal. Examples use the Internal Server to show the effect of waveshaping via a scope. Use .play instead if necessary. Server .default ...
-
... ({ |n| n.squared }); // receiver syntax collect((1..10), { |n| n.squared }); // function call syntax (1..10).collect { |n| n.squared }; // receiver syntax with trailing function arg collect ((1..10)) { |n| n.squared }; // function call synt ...
-
Pprotect evaluate a function when an error occured in the thread superclass: FilterPattern Pprotect(pattern func) pattern any pattern func the function to be evaluated when an error occurs. The error and the thread are passed as arguments t ...
-
Crackle chaotic noise function Crackle.ar(param, mul, add) Crackle.kr(param, mul, add) A noise generator based on a chaotic function. param - a parameter of the chaotic function with useful values from just below 1.0 to just above 2.0. Towa ...
-
... is evaluated withIf cancel is pressed then cancelFunc is evaluated. okFunc - A Function to be evaluated when OK is pressed. The selected paths are passed as an Array of Strings as the first argument. cancelFunc - A Function to be evaluated ...