Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ern1 <> pattern2 <> ... patternN <> pattern add another pattern to the chain // examples ( Pchain ( Pbind ( \detune , Pseq ([-30, 0, 40], inf ), \dur , Prand ([0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.p ...

  2. TwoWayIdentityDictionary Help

    ... a given object. If object is not element of the dictionary, it returns nil. // example a = TwoWayIdentityDictionary .new; a.put( \test , 999); a.put([ "some" , "strings" ], 1200); a.at( \test ); a.getID(999); a.getID(1200); a.getID(888); / ...

  3. Convolution2L Help

    ... ig , 1); // after this trigger, the change will take effect. x.free; // // next example b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input= SoundIn .ar(0); // must have power of two framesize Convolution2L .ar(input, ...

  4. BufFrames Help

    ... buffer can be reallocated at any time, using .ir will not track the changes. // example s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr( ...

  5. IndexInBetween Help

    ... ndex is suitable for linearly interpolating between the buffer slot values. For example, if the Buffer contains [3, 21, 25, 26] and the input has the value 22, then the output will be 1.25, because the value 22 is in-between the values stor ...

  6. ProxySpace Help

    ... ySpace returns a NodeProxy . A similar class without environment: Ndef For more examples see: proxyspace_examples jitlib_basic_concepts_01 For GUI overview, see ProxyMixer . See NodeProxy for many relevant methods. First Example s.boot; p = ...

  7. Cocoa Help

    Cocoa see also: CocoaDialog Cocoa.getPathsInDirectory(path) // example: Cocoa .getPathsInDirectory( "plugins" ) // note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used. "plugins/*" .pathMatch; "plugins/D* ...

  8. ObjectGui Help

    ... jectGui. see [gui] It is the simplest display, just the the object asString. an example gui class YourSimpleGuiClass : ObjectGui { guiBody { arg layout; // we refer to the model and // access its variable howFast. // if its a simple number, ...

  9. SCModalWindow Help

    ... ditional window is still needed once the first one has closed. See below for an example of how to do this. Creation / Class Methods *new (name, bounds, resizable, border, server, scroll) Creates a new SCModalWindow instance. You do not need ...

  10. Pause Help

    ... gate when gate is 0, node is paused, when 1 it runs nodeID node to be paused //example s.boot; SynthDef ( "a" , { Out .ar(0, SinOsc .ar(800, 0, 0.2)) }).send(s); SynthDef ( "b" , { arg gate=1; Out .ar(1, PinkNoise .ar(0.3)); Pause .kr(gate ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow