-
Prout routine pattern superclass: Pattern Prout(func) Returns a routine from the function. func - routine function See also: Proutine, Routine note that there is a shortcut to create a Prout: p(func) // example ( var a; a = Prout ({ loop { ...
-
Proutine pattern that embeds a routine function superclass: Pattern Proutine(func) embeds the routine function. func - routine function See also: Prout Proutine is similar to Prout, it only simply embeds the function instead of creating a s ...
-
... environment with objects to embed pattern pattern or stream, ususally a Pfunc, Prout. independent if true (default) streams can write to the environment without influencing other streams created from this pattern. if false, the streams wri ...
-
... Pstep2add Pwhite Pbrown Pgeom Pseries Pbind Pevent Pnaryop Pbinop Punop Pfuncn Prout Proutine Pfunc The following lists all the Pattern classes where embedInStream uses the default Pattern-embedInStream. These create a new stream whenever ...
-
... 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 ...
-
... . If there is none, it is created and the pattern is rebuilt. endless returns a Proutine that plays the proxy endlessly, replacing nil with a default value (1). This allows to create streams that idle on until a new pattern is inserted. // ...
-
... Pretty PrettyEat PrettyEcho PrettyPrintStream PrettyState PrimitiveFailedError Prout Proutine ProxyNodeMap ProxyNodeMapSetting ProxySynthDef Pseries Psetp Psetpre PSinGrain Pstep2add Pstep3add Pstretch Pstretchp Ptpar Ptrace Punop PV_Add P ...
-
... ing its pattern with the new one. If the pattern is a function , Pdef creates a Prout with this function, passing in the envir, if given(see below). *new(key) Access the pattern at that key (if none is given, a default silent event is creat ...
-
... and the task routine is rebuilt. clear Set the source to nil endless Returns a Prout that plays the task endlessly, replacing nil with a default value 1. This allows to create streams that idle on until a new pattern is inserted. Tdef as s ...
-
... its func argument. a = r { 5.do { |i| i.rand.yield } }; a.nextN(8); p Returns a Prout using this as its func argument. a = p { 5.do { |i| i.rand.yield } }; x = a.asStream; x.nextN(8); This is useful for using ListComprehensions in Patterns: ...