Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Spawning Help

    ... chedule time-based behavior, even if no audio is involved. Both SystemClock and AppClock (a less accurate version which can call Cocoa primitives) have only class methods. Thus one does not create instances of them. If you need to have an i ...

  2. SCEnvelopeView Help

    ... d.abs); 0.1.wait; b.x_(1.0.rand.abs); b.y_(1.0.rand.abs); }); b.select(-1); }); AppClock .play(r); ) //show boxes with a string in it: ( a = Window ( "text-boxes" , Rect (200 , 450, 450, 450)); a.view.decorator = FlowLayout (a.view.bounds); ...

  3. SCWindow Help

    ... Rect(100,500,200,200) ) }.defer . You do not need to use .defer, if you use the AppClock . Creation / Class Methods *new(name, bounds, resizable, border, server, scroll) Creates a new SCWindow instance. You will need to call front (see belo ...

  4. SCButton Help

    ... cess fork({ 5.wait; synth.release; update.value(butt, "." ); 1.wait; w.close }, AppClock ); }); CmdPeriod .doOnce({w.close}); w.front; }); ) // complex drag and drop example // try dragging the buttons to white slot, adn then between white ...

  5. SCMultiSliderView Help

    ... d); b.doAction; [0.1,0.2].choose.wait; }); 1.wait; n.free; {w.close}.defer; }); AppClock .play(r); }; ) Note: this forces the entire view to redraw at each step and will spend a lot of CPU .

  6. Function Help

    ... p; defer(delta) Delay the evaluation of this Function by delta in seconds. Uses AppClock . { "2 seconds have passed." .postln; }.defer(2); dup(n) Return an Array consisting of the results of n evaluations of this Function. x = { 4.rand; }.d ...

  7. Env Help

    ... t; 2.wait; Window .allWindows.pop.close; // close last opened window } }).play( AppClock ); ) // in a SynthDef ( SynthDef ( \help_EnvBlend , { | fact = 0 | Out .ar(0, EnvGen .kr( Env .perc.blend( Env .sine, fact), 1.0, doneAction: 2) * SinO ...

  8. Pbind Help

    ... Player, defaults to TempoClock.default . Patterns that change graphics must use AppClock . protoEvent The initial event modified by Pbind , defaults to Event.default . quant A quantization value used by clock. When a number, the pattern wil ...

  9. SCView Help

    ... ion: { myView.value_(2) }.defer . You do not need to use .defer, if you use the AppClock . Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Accessing ...

prev 1 2 3

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow