Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. Ref Help

    ... to prevent multi-channel expansion in SynthDefs and Patterns (see Klank for an example). Refs can also be used to simplify the coding of co-routines used in EventStreams (see Proutine for an example). example: x = Ref ( nil ); z = obj.meth ...

  2. Pgauss Help

    ... from uniformly distributed values: sqrt(-2 * log(1.0.rand)) * sin(2pi.rand) // example ( var a; a = Pgauss (0.0, 100, inf ); c = a.asStream.nextN(500); w = Window .new( "Pgauss" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: ...

  3. How-to-Use-the-Interpreter Help

    ... Shift-Return. You will need to start the default server before you can hear any examples. By convention the default server is assigned to the interpreter variable 's'. (At startup the default will be the localhost server.) You can start the ...

  4. SCScrollTopView Help

    ... on is evaluated when a user scrolls the view or sets the visibleOrigin. See the example in the SCScrollView help file. Instance Methods A window's SCScrollTopView can be accessed using the SCWindow:view method. See the examples below. autoh ...

  5. SynthDef Help

    ... exhaustive explanation of it is beyond the scope of this document. As such, the examples at the bottom of this document and those found in the various tutorials accessible from Help may be necessary to make some aspects of its use clear. UG ...

  6. UniqueID Help

    ... initialize the starting id. *next get next id, which is unique to the system // example UniqueID .next; UniqueID .next; UniqueID .next;

  7. FunctionList Help

    ... eturns nil obj.removeFunc(f) returns nil, if f === obj, else obj is returned // example a = nil ; a = a.addFunc { |x="", y=""| "this % is an % example\n" .postf(x, y); 1 }; a.postln; a = a.addFunc { |x="", y=""| "there is no % that is %\n" ...

  8. Control-Structures Help

    ... nc, falseFunc); ..or.. expr.if (trueFunc, falseFunc); see also: the if helpfile examples: if ( [ false , true ].choose, // Boolean expression (chooses one at random) { "expression was true" .postln }, // true function { "expression was fals ...

  9. Pbrown Help

    ... th - number of values produced (default: inf) See also: BrownNoise , Pgbrown // example ( var a; a = Pbrown (0.0, 1.0, 0.1, inf ); c = a.asStream.nextN(500); w = Window .new( "Pbrown" , Rect (10, 10, 540, 800)); // plot the values c.plot(bo ...

  10. Comments Help

    ... d go until the end of the line. Comments can also be delimited with /* and */ . examples: // single line comment /* multi line comment */ /* Unlike C, you can have /* nested */ comments */

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow