-
Pswitch embed values in a list according to a pattern of indices Pswitch(list, which) Pswitch chooses elements from the list by a stream of indices ( which ) and embeds them in the stream. If the element is itself a pattern, it first comple ...
-
Pfin limit number of events embedded in a stream superclass: FilterPattern Pfin(count, pattern) embeds count elements of the pattern into the stream Note: Pfin is intended for event patterns. After the count elements are embedded, the strea ...
-
RandID set the synth's random generator id RandID.kr(seed) RandID.ir(seed) Choose which random number generator to use for this synth. All synths that use the same generator reproduce the same sequence of numbers when the same seed is set a ...
-
Pslide slide over a list of values and embed them superclass: ListPatterns Pslide(list, repeats, length, step, start, wrapAtEnd) repeats : number of segments length : length of each segment step : how far to step the start of each segment f ...
-
Pswitch1 embed values in a list according to a pattern of indices Pswitch1(list, which) Pswitch1 chooses elements from the list by a stream of indices ( which ) and embeds them in the stream. If the element is itself a pattern, it embeds on ...
-
Pconst constrain the sum of a value pattern superclass: FilterPattern Pconst(sum, pattern, tolerance) similar to Pfindur , but works with the value directly. embeds elements of the pattern into the stream until the sum comes close enough to ...
-
Understanding Streams, Patterns and Events - Part 3 ListPatterns ListPatterns are Patterns that iterate over arrays of objects in some fashion. All ListPatterns have in common the instance variables list and repeats. The list variable is so ...
-
PhidSlot pattern that polls values from a human device interface, based on an indexed slot superclass: Pattern *new(slot, type, device, repeats) slot index pointing to a slot like a button or an axis type index pointing to the type of slot ...
-
Plazy instantiate new patterns from a function superclass: Pattern Plazy evaluates a function that returns a pattern and embeds it in a stream. Plazy(func) func: A function that returns a pattern or any other valid pattern input see also: P ...
-
Ptuple combine a list of streams to a stream of lists superclass: ListPatterns Ptuple(list, repeats) list: an Array of Patterns repeats: an Integer or inf At each iteration, Ptuple returns a tuple (array) combining the output of each of the ...