Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (71) Code (12) Doc (25) Help (11) Quark (23) SCDoc ↗ Forum ↗ Google ↗
  1. Lift-test Quark

    ... + 10 * 10 // many chairs, many tables. // lift calls to routines ( d = ( first: Prout { loop { "first".postln; 1.yield } }.asStream, second: Prout { loop { "second".postln; 0.3.yield } }.asStream, third: Prout { loop { "second".postln; 2.yi ...

  2. Streams-Patterns-Events2 Help

    ... from the pattern 5.do({ b.next.postln; }); // print 5 values from the stream ) Prout is a Pattern that returns a Routine. The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.ran ...

  3. Penvir Doc

    ... environment with objects to embed. pattern pattern or stream, usually a Pfunc , Prout . independent if true streams can write to the environment without influencing other streams created from this pattern. if false, the streams write to a c ...

  4. Streams-Patterns-Events2 Doc

    ... the pattern 5.do({ b.next.postln; }); // print 5 values from the stream ) ⧉ ✔ A Prout is a Pattern that returns a Routine . The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout.new({ 3.do({ arg i; 3.ran ...

  5. drum sequencer to drive external midi device or software like ableton by 56228375 (56228375) Code

    ... icmd, \noteOn, \midiout, midiout, \chan, midichannel, \midinote, Prout({ pattern.do({ | character | if (character != $.) { percmap[instrument].yield; } { Rest(0).yield; }; ...

  6. Telegraph Incantation [disquiet0050-morsebeat] by schemawound (Schemawound) Code

    ... {outEvent.code = outEvent.code + outEvent.letterSpace}); }; //Create a Prout that duration streams can be generated from outEvent.prout = Prout{|in| inf.do{|i| var char = outEvent.code.wrapAt(i); switch(char, ...

  7. rewriteString Quark

    ... ependent on the productions. // using a random stream of letters as axiom ( k = Prout { 50.do { "abcde" .choose.yield } }; c = [ "a" -> "aa" , "b" -> "bb" , "c" -> "dd" , "d" -> "dxx" , "x" -> "y" ]; ) // 1 level of rewriting ( z = k.asStre ...

  8. Pspawner Doc

    ... s-Patterns-Events > Patterns'>Patterns > Patterns>Parallel'>Parallel Pspawner : Prout : Pattern : AbstractFunction : Object dynamic control of multiple event streams from a Routine Source: Pspawner.sc See also: Pspawn Description Pspawner a ...

  9. PG_Cookbook08_Swing Doc

    ... attern Guide 06c: Composition of Patterns .) So... deep breath... ( ~swingify = Prout({ |ev| var now, nextTime = 0, thisShouldSwing, nextShouldSwing = false, adjust; while { ev.notNil } { // current time is what was "next" last time now = n ...

  10. rewriteString Doc

    ... ependent on the productions. // using a random stream of letters as axiom ( k = Prout { 50.do { "abcde".choose.yield } }; c = [ "a" ->"aa", "b" -> "bb", "c" -> "dd", "d" -> "dxx", "x" -> "y" ]; ) // 1 level of rewriting ( z = k.asStream.rew ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow