Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... possible to implement a similar behaviour using an "array-of-arrays" - see the examples towards the bottom of this page for comparison. Creation / Class Methods *new(rows, cols) Create an array of the specified size. a = Array2D .new(3,4); ...

  2. Ppatlace Help

    ... . The results of each stream will be output in turn. Ppatlace(list, repeats) // example p = Ppatlace ([ Pwhite (1, 5, 5), Pgeom (10, 1.01, 10)], inf ); x = p.asStream; x.all; 5 // from Pwhite 10 // from Pgeom 4 // from Pwhite 10.1 // etc... ...

  3. NetAddr Help

    ... he server) disconnect close TCP connection ip returns the ip number (as string) example: n = NetAddr("localhost", 57110); n.ip; *disconnectAll close all TCP connections *broadcastFlag check broadcast flag *broadcastFlag_( flag ) Sets the br ...

  4. NodeWatcher Help

    ... o the address stop remove the OSCresponderNode to stop listen to the address // example: ( b = s.makeBundle( false , { a = Group .new(s); //create a node object NodeWatcher .register(a); // register before creating on the server }); ) a.isP ...

  5. ControlName Help

    ... nthDef For an explicit creation of control names see: NamedControl , Control // example a = SynthDescLib .global; // the global library of SynthDescs x = a.synthDescs.at( \default ); // get the default SynthDesc x.controls.do { |ctl| [ \nam ...

  6. Stream Help

    ... uncStream defines a stream that consists of evaluations of its nextFunction. // Example 1: a Function vs. a FuncStream ( f = { 33.rand }; x = FuncStream (f); 10.do({ [f.next, x.next].postln }); ) // Example 2: the reset function ( f = { 33. ...

  7. Synth-Controlling-UGens Help

    ... affect a node's state from within the synth, they can free or pause nodes, for example. Done FreeSelf PauseSelf FreeSelfWhenDone PauseSelfWhenDone Pause Free UGens with a doneAction EnvGen Linen Line XLine DetectSilence Duty TDuty DemandEn ...

  8. MouseButton Help

    ... maxval value when the key is pressed lag lag factor see also MouseX , MouseY //example { SinOsc .ar( MouseButton .kr(400, 440, 0.1), 0, 0.1) }.play; { SinOsc .ar( MouseButton .kr(400, 740, 2), 0, 0.1) }.play;

  9. SampleDur Help

    ... f the server in seconds *ir equivalent to 1 / SampleRate related: minNyquist // examples { SampleDur .ir.poll }.play; { (1/ SampleDur .ir).poll }.play; // drive a demand ugen at samplerate { Duty .ar( SampleDur .ir, 0, Dbrown (-1.0, 1.0, 0. ...

  10. CocoaDocument Help

    ... call Document .new and this instantiates the correct class for your system. For examples and method descriptions see Document .

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow