-
... + 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... icmd, \noteOn, \midiout, midiout, \chan, midichannel, \midinote, Prout({ pattern.do({ | character | if (character != $.) { percmap[instrument].yield; } { Rest(0).yield; }; ...
-
... {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, ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...