Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Quant Help

    Quant Superclass: Object Represents the standard scheduling model for Routines, Tasks and Patterns. A Quant object stores the parameters needed to calculate the precise time when a Routine/Task/Pattern will start playing on a specified Temp ...

  2. PdurStutter Help

    ... 3,3,3,3,3,4,4,4,4,4],inf), Pseq(#[0.5, 1, 2, 0.25,0.25],inf) ); x = a.asStream; Routine ({ loop({ Synth.grain ( \help_sinegrain , [ \freq , 440]); x.next.wait; }) }).play(TempoClock.default); ) ( a = PdurStutter ( Pseq (#[1,1,1,1,1,2,2,2,2, ...

  3. Pspawner Help

    Pspawner dynamic control of multiple event streams from a Routine superclass: Proutine related class: Spawner Pspawner allows a routine to dynamically start and stop subpatterns. see also Pspawn Pspawner(function) The function defines a Rou ...

  4. ServerTiming Help

    ... rately inefficiently to expose the problem more clearly. Two copies of the same routine get started at the same time. On a theoretically perfect machine, in which operations take no time, we would hear both channels in perfect sync. No such ...

  5. play Help

    ... message was sent to. opposite: stop clock.play(stream) returns: the clock ( r = Routine .new({ "...playing" .postln; 1.wait; "ok, that was it" .postln }); SystemClock .play(r); ) routine.play(clock) returns: the routine Routine .new({ "...p ...

  6. Pgbrown Help

    ... r(freq, 0, env)) }).add; ) ( var a; a = Pgbrown (1.0, 2.0, 0.1, inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; }) }).play; ) // compare with normal brownian motion: ( var a; a = Pbrown ...

  7. Thread Help

    ... on : Stream Normally there is no need to instantiate a Thread, but its subclass Routine is very useful. It is wise not to fiddle with the source code for this class; see the warnings in the class file. thisThread always returns the enclosin ...

  8. Task Help

    ... sk is a pauseable process. It is implemented by wrapping a PauseStream around a Routine. Most of its methods (start, stop, reset) are inherited from PauseStream. Tasks are not 100% interchangeable with Routines. - Condition does not work pr ...

  9. Scheduler Help

    ... ostln }); a.advance(0.5); a.advance(0.5); a.advance(2); a.advance(2); // play a Routine or a task: a.play( Routine { 5.do { arg i; i.postln; 1.yield } }); a.advance(0.9); // scheduling tasks ( x = Scheduler ( TempoClock .default); Task { in ...

  10. Understanding-Errors Help

    ... the variables listed for each call in the call stack to help locate the error. Routine ({ var a; a = 5; loop { var b; b = 20.rand; b.postln.ecky_ecky_phtang; // "NI!!!!" a.wait; } }).play; ERROR: Message 'ecky_ecky_phtang' not understood. ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow