Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2379) Code (372) Doc (742) Help (281) Quark (974) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Cookbook01_Basic_Sequencing Help

    ... 2], 1), Pn (4, 16)], inf ), \dur , 0.25 ).play; ) “Multichannel” expansion In a SynthDef, using an array as the input to a UGen expands the UGen into an array of UGens (see MultiChannel ). Something similar happens in patterns. Normally a v ...

  2. Sequencing with Patterns Help

    ... previous section demonstrated how to use data routines to generate sequences of synthesis parameters. However, writing a routine with explicit yields is not a very convenient syntax. Since this is an essential part of creating computer musi ...

  3. EnvGen Help

    ... ecuted when the env is finished playing. This can be used to free the enclosing synth, etc. See UGen-doneActions for more detail. { EnvGen .kr( Env .perc, 1.0, doneAction: 2) * SinOsc .ar(440, 0, 0.1) }.play; Note: The actual minimum durati ...

  4. CmdPeriod Help

    ... some cases you might need to defer the function by a short amount of time a = { Synth ( \default )}; a.value; CmdPeriod .add({{a.value}.defer(0.01)}); // remove all CmdPeriod .removeAll

  5. Pfsm Help

    ... m, [ next states ], ... end item (or nil), nil ] next states: nil is terminal ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...

  6. Pprob Help

    ... ext } }; // this very efficient bench { 100.do { y.next } }; // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...

  7. SoundFile Help

    ... . (See NodeEvent for a description of how events can be used to control running synths.) The event responds to play, stop, pause, resume , keeping both the file and buffer open. The file is closed and the buffer is freed when the event is s ...

  8. SCWindow Help

    ... it in code // onClose ( x = Window .new.front; x.alpha = 0.8; x.onClose_({ y = Synth .new( \default ) }); //close the window and the synth plays ) x.close; y.free; // a window with scrollers ( w = Window (scroll: true ); // you must set th ...

  9. TaskProxy Help

    ... oClock .default.tempo = 1; x.stop; x.play; x.stop; // sound example ( // load a synthdef s.boot; SynthDef ( "pdef_grainlet" , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.3), doneAction:2); Out ...

  10. SCStethoscope Help

    ... s, fadeTime, bufsize, zoom) Plays a function and shows output in scope, returns synth object, like { }.play Server .default = s = Server .internal s.boot a={ SinOsc .ar([330,440], 0, 0.4)}.scope; a.free; *ugenScopes Returns an array of the ...

prev 21 22 23 24 25 26 27 28 29 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow