Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Pspawn Help

    ... up and down ( p = Pspawn ( Pbind ( // Pbind returned by Pfunc is not embedded, just placed in the event // So, it can be spawned \pattern , Pfunc { Pbind ( \degree , Pseries (rrand(0, 10), #[-1, 1].choose, rrand(4, 10)), \dur , 0.125) }, \ ...

  2. TaskProxy Help

    ... tine function / pattern (internally done by *new(key, obj) embedInStream(inval) just like any stream, embeds itself in stream b) using it as EventStreamPlayer play(clock, protoEvent, quant) starts the TaskProxy and creates a player. if you ...

  3. SCStethoscope Help

    ... s. control) L one channel forward O jump to first hardware output channel and adjust numChannels to hardware I jump to first hardware input channel and adjust numChannels to hardware space run, if not running anyway. . (period) stop. M togg ...

  4. PG_06a_Repetition_Contraint_Patterns Help

    ... rt of the code doesn't have to know how many events or how long to play. It can just return an infinite pattern, and another part of the code can wrap it in one of these to stop it based on the appropriate condition. Pfin(count, pattern): R ...

  5. Streams-Patterns-Events2 Help

    ... ble to create multiple streams from a single stream specification. Patterns are just a way to make multiple Streams from a single specification, like a cookie cutter. A pattern can be any object that responds to the asStream message by crea ...

  6. Control-Structures Help

    ... rresponding functions to be evaluated if true. Case is inlined and is therefore just as efficient as nested if statements. ( var i, x, z; z = [0, 1, 1.1, 1.3, 1.5, 2]; i = z.choose; x = case { i == 1 } { \no } { i == 1.1 } { \wrong } { i == ...

  7. Streams-Patterns-Events7 Help

    ... supplies a default protoEvent. If you were using your own event model you would just pass in your own protoEvent to the play method. ( Pbind ( \instrument , Prand ([ \help_SPE7_BerlinB , \help_SPE7_CFString1 ], inf ), \degree , Pseq ([0,1,2 ...

  8. ServerTiming Help

    ... print out the logical time (clock.beats) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef ( \sinGrain , { |out = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(out, SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env ...

  9. Pdefn Help

    ... and not 0 to avoid deadlocks when used as a duration pattern. In a sense, 1 is just as generic as 0). *removeAll Remove all proxies from the global dictionary (* all ) *clear Clear all proxies, setting their source to silence. *all *all_(e ...

  10. Stream Help

    ... .yield; 1910.yield }); 17.do({ y.next.postln }); ) Routines can be concatenated just like Streams: ( x = Routine ({ 2.do({ [1,2,3,4].do({ arg i; i.yield; }); }) }); y = Routine ({ 100.yield; 30.yield; }); z = x ++ y; 17.do({ z.next.postln } ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow