-
Pcollect: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods asStream embedInStream Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patte ...
-
... s that filters a pattern using a function Source: FilterPatterns.sc Subclasses: Pcollect , Pfset , Preject , Pselect , Pwhile … see all See also: FilterPattern Description This is an abstract class that filters a pattern using a function. S ...
-
PcollectFinal: Filter: Description Caveats Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Filter'>Filter PcollectF ...
-
... n by rejecting particular values. Source: FilterPatterns.sc See also: Pselect , Pcollect , Collection: -reject Description Preject filters the source pattern using func . Values for which func returns true will not be returned by Preject. T ...
-
... ilters values returned by a source pattern. Source: FilterPatterns.sc See also: Pcollect , Preject , Collection: -select Description This pattern will filter the source pattern using the supplied function func . Values from the source patte ...
-
... ,10], inf) * Pfunc { ~a }; ⧉ ✔ An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the source stream will be taken as input by the collecting stream, as with Pfunc the Function ...
-
... ; 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 ). ...
-
... 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. ...