-
... apsulated when a system is built too heavily on subclasses. This is not limited just to GUI cross-platform concerns.) If you want to make a GUI kit specific switch (e.g. in a class), then you should use the following instead, as on non-OSX ...
-
... etween two threads. // producer thread fork { var counter = 0; // Our "task" is just an increasing number for now var task; loop { // This guarantees that when we return from `wait`, there is // enough room in the queue to add another task. ...
-
... ng embedInStream on their list items. Most objects are embedded into the stream just by yielding the object: // in Object embedInStream { ^ this .yield; } But if the item is a pattern itself, control enters into the subpattern and stays the ...
-
... thDefs Unlike SynthDef, Instr can take any kind of input for its arguments, not just (including an Integer quantity, symbols or even other functions) and so while a SynthDef has a fixed architecture for a Synth, an Instr can generate multip ...
-
... SuperCollider's testing framework has two built-in helper functions that can do just that. The first is called `setUp` (notice the capital 'U'), and it will be called **before** each and every _test case_ in a given _test class_. The second ...
-
... rtcut methods. // Here the Function passed to ctrBefore has no index arg, // it just produces 4 different tuples of // init values for the step sequencers, // the pBefore Function determines 4 different octave registers // quant arg ensures ...
-
... unit tests (for correctness) there is a Unit Test class TestKDTree - basically just run KDTree.test helpfile source: /tmp/scquark_hs/KDTree/HelpSource/Classes/KDTree.schelp link::Classes/KDTree::
-
JITGui a superclass for just in time interfaces Inherits from: Object Proxies for synths, tasks and patterns as implemented in JITLib are extremely flexible. Having guis that represent their changeable states makes it easier to understand w ...
-
... , but it does save typing. The below example has only a .ar method, but you can just as easily have both .ar and .kr methods. BoringMixer { *ar { arg left, right; ^(left + right) * 0.5; } } ⧉ ✔ Examples of pseudo-UGens found in SC include B ...
-
... ay of document names without extension. Deliberately dis-allowing wildcards (it just got very messy and its usage error-prone). ext The extension of the documents (e.g. scd ). warn Boolean , warn for non-existent Document. Returns: sorted a ...