-
... nStream class defined in Stream.sc can wrap a Gen as a Stream. */ Gen : AbstractFunction { var <>current; *new { arg current; ^super.newCopyArgs(current) } genCurrent { ^current } genNext { ^this.next } next { ^nil } value { ^this } storeAr ...
-
TestFunction : UnitTest { test_function_scope { var generator, list, result, a; generator = { var x = 0; { |y| a = x = x + y } }; list = 10.collect(generator); result = list.collect { |each, i| each.value(i) }; this.assert(result == (0..9), ...
-
... > MathLib>Polynomials & Special'>Polynomials & Special Bessel Extension Bessel functions of the first kind Location: NOT INSTALLED! See also: Tour of Special Functions: Bessel%20Functions Description Calculates Bessel Functions of the Firs ...
-
... eDir { |dir = ""| ^dir.makeDir; } *checkDo { // open file to write to, evaluate function, and close it again // - everything you need in one method // - asks for options when ask == true and file exists // - generates new name when overwrit ...
-
Function Inherits from: Object : AbstractFunction A Function is a reference to a FunctionDef and its defining context Frame . When a FunctionDef is encountered in your code it is pushed on the stack as a Function. A Function can be evaluate ...
-
... m given items and indices. Inherited class methods Instance Methods . doRange ( function , from: 0 , to ) Iterate over a range of the order's items. . pos Return the current write position. Inherited instance methods Undocumented instance m ...
-
InteractiveEnvironment { // Dimple instance var <>dimple; // Function to invoke to create the virtual environment var <>creationFunc; // Function to be invoked for every object created in the virtual environment var <>objectFunc; // Map fro ...
-
... Examples Classes | Control | Platform > macOS'>macOS ApplicationStart register functions to be evaluated on Application start Location: NOT INSTALLED! See also: StartUp , ServerBoot Description Available in macOS SuperCollider.app only. Ap ...
-
... const <controlModifier = 0x00040000; const <optionModifier = 0x00080000; const <functionKeyModifier = 0x00800000; const <commandModifier = 0x00100000; /* classvar <>normalModifier=0,<>shiftModifier=0x00020000,<>controlModifier=0x00040000, < ...
-
... const <controlModifier = 0x00040000; const <optionModifier = 0x00080000; const <functionKeyModifier = 0x00800000; const <commandModifier = 0x00100000; /* classvar <>normalModifier=0, <>shiftModifier=0x00020000, <>controlModifier=0x00040000, ...