-
... == resultB, errorString, false) }; /* the ones commented out need to be checked Pcollect crashes the interpreter */ var functions = [ { |x| x }, { |x| Pseq([x, x]) }, { |x| Pseq([x, (y: 10)]) }, //{ |x| Pselect({ |event| event[\zz].notNil } ...
-
... ; Array.fill(n, { a.next }).postln == Array.fill(n, { b.next }).postln }; ) a = Pcollect({ |event| event }, (zz: 4)); a = Pcollect({ |event| event }, Pn((zz: 4))); a = Pcollect({ |event| (aa:9) }, Pbind.new); a = Pcollect({ |event| (aa:9) } ...
-
... fied FuncFilterPattern - Abstract class that filters a pattern using a function Pcollect - Apply a function to a pattern Pfset - Insert an environment into the event prototype before evaluating the supplied pattern Preject - Filters a sourc ...
-
... also Patterns itself. So Patterns including functional code (e.g. Pfunc, Plazy, Pcollect) can, thanks to dynamic scoping, turn into different Streams, depending on the environment where streamifying happens ( Event patterns and Functions ). ...
-
... also Patterns itself. So Patterns including functional code (e.g. Pfunc, Plazy, Pcollect) can, thanks to dynamic scoping, turn into different Streams, depending on the environment where streamifying happens ( Event patterns and Functions ). ...
-
... hips into pitch-based playback streams: //nice blended single tone ( p = Pbindf(Pcollect({|n| f.noteChips(n).choose ?? Rest(0.2)}, Pseq([f.notes.choose], inf)), \dur, Pfunc({|e| (e[\end] - e[\start])/f.buffer.sampleRate}), \amp, Penv([0, 0. ...
-
... ing with Strings . eventShortcuts : METHOD NOT FOUND! Wraps the receiver into a Pcollect with a Function that replaces according to EventShortcuts if it's turned on. This can be useful in cases where a pattern's method embedInStream changes ...
-
... lay // the following patterns can alter the values returned by other patterns //Pcollect(function, pattern) Pcollect ({ arg inval; inval.use({ ~freq = 1000.rand }); inval}, q).play //Pselect(function, pattern) Pselect ({ arg inval; inval.at ...
-
... yet dly.do { |x| inval = buffer.wrapAt(max(readI + x, 0)).yield; }; ^inval } } PcollectFinal : Pcollect { var <>finalFunc; *new { |func({ |x| x }), pattern, finalFunc({ |x| x })| ^super.new(func, pattern).finalFunc_(finalFunc) } embedInStr ...
-
... ].choose}), \panValue, Pstutter({v[\nReds]}, Pfunc({1.0.rand2})), \pan, Pcollect({|item| item + 0.1.rand2}, Pkey(\panValue)), \delta, Pn(Pfuncn({0.1.rand}), {v[\nReds]}), \amp, 0.25, ), Event.silent(3.0) ], inf); p ...