Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. PG_01_Introduction Help

    ... of specific Pattern classes, and proceeding into examples of practical musical tasks written as patterns. Contents PG_01_Introduction : Fundamental concepts of patterns and streams PG_02_Basic_Vocabulary : Common patterns to generate strea ...

  2. 3_Runtime_errors Help

    ... initialized var b; // b declared but not initialized, so it defaults to nil t = Task ({ 4.do({ arg item, i; if(i != 3) { i.postln } // print the value of i if it doesn't equal 3 { (a * b).postln }; // when i equals 3, do a * b // ... which ...

  3. Document Help

    ... estores the current Environment. Controlling Document close Close a document. ( Task ({ var doc; doc = Document ( "background" , "closing in 2 seconds" ); doc.stringColor_( Color .blue); 1.wait; doc.background_( Color .blue(alpha:0.8)); 1.w ...

  4. Pdefn Help

    ... , Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, Pdefn ( \x )], inf ).asStream; t = Task ({ loop({ x.next.postln; 0.3.wait }) }).play; Pdefn ( \x , Pseq ([55, 66, 77], inf )); Pdefn ( \x , Pseq ([55, 66, 77],1)); t.stop; // Pdefn can be accesse ...

  5. Speech Help

    ... You may explicitly initalize with more channels, up to 16: ( Speech .init(16); Task ({ 16.do ({ arg i; [0.1, 0.18, 0.2].choose.wait; Speech .setSpeechRate(i,[90, 30, 60].choose); Speech .setSpeechVolume(i,0.07); "no this is private. float ...

  6. PG_07_Value_Conversions Help

    ... any other; it simply provides these options, which you may use if they suit the task, or ignore or override if your task calls for something else entirely. Timing conversions Rhythm is based on \delta and \sustain event keys. Both of these ...

  7. PatternProxy Help

    ... ses Pdefn/Pdef/Tdef which are not useful for PatternProxy, EventStreamProxy and TaskProxy. envir_(event) provide a default environment for the proxy. If given, it is used as an environment for the routine function. When set for the first ti ...

  8. Functions Help

    ... ated. {}.value.postln; A function can be thought as a machine able to perform a task on demand, e.g. a calculator. The calculator can receive input (args) and can output a value, the result of the performed operations. The function definiti ...

  9. 12_Playbuf Help

    Breaking synthesis processes into parts that accomplish small well-defined tasks encourages modular design and component reuse (the oop mantra). ( // read a soundfile from disk b = Buffer .read(s, "sounds/a11wlk01.wav" ); // a samplePlayer ...

  10. 15_Scheduling Help

    ... ated, algorithmic scheduling. Among the things that clocks "play" are routines, tasks, and patterns. To see how a clock "plays" a routine, first examine how a function works in a routine. The first argument (and usually the only argument) t ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow