-
... Access to the environment depends on function-driven patterns: Pfunc , Pfuncn , Prout , .collect , .select , .reject , and similar. The independent flag specifies whether the environment will be kept separate for each stream made from the P ...
-
... 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: ...
-
... p Pdefn to the keys in the event. clear Set the source to nil endless Returns a Prout that plays the proxy endlessly, replacing nil with a default value (silent event). This allows to create streams that idle on until a new pattern is inser ...
-
... { pd } ) } { thing[\setParms] } }, Pkey(\bufIndex) ).asStream; }, postDefaults: Prout { |inEvent| var bufIndex, event, postDefaults, delta, indices; ~initDrumSelector.(); ~makeStreamForKey.(\commonParams); loop { if(inEvent[\bufIndex].size ...
-
... the source to nil . endless ( default ) From superclass: PatternProxy Returns a Prout that plays the proxy endlessly, replacing nil with a default value (silent event). This allows to create streams that idle on until a new pattern is inser ...
-
... rather than setting freq in hz we determine the degree in a scale // instead of Prout{} the shortcut p{} can be used note: PdegreeToKey( Prout({ loop { CVCenter.at(\degree).embedInStream }}), Scale.dorian), // dur cannot be set individually ...
-
... nc 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 Patte ...
-
... nval) }; ~localPattern = { |repeats| // "makeStream" needs to override ~repeats Prout { |inval| var stream = Pseq(~pool, inf).asStream; var next; block { |break| repeats.next.do { // this may be inf because of yielding ~numToPlay.next.do { ...
-
... il; p[\sequence] = Pbind( \amp, Rest(), \delta, v[\partDur], \part, Prout({ var parts = [[\story], [\ands, \incredible, \remember, \colours, \intimacy].rotate(5.rand)]; loop { parts[0][0].yield; parts[0] = part ...
-
... isRest } }, (), BPStream(\postDefaults), //.trace(prefix: "postDefaults: "), ), Prout { |inevent| var pat; ~makeStreamForKey.(\phraseSeq); loop { if(thisThread.beats > lastTime) { lastTime = thisThread.beats; } { "BP(%): Empty phrase %, sto ...