-
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 ...
-
... eturns combinatoric sums superclass: PstepNfunc combines an arbitrary number of patterns by summing (depth first traversal). when a stream ends it is recreated from its pattern until the top stream ends. see also: Pstep3add *new(pattern1, p ...
-
... s of default values to be defined (see "Variants" in SynthDef help). Most event patterns, such as Pbind, specify the variant using the variant key in the output events. (Note that variants are always optional.) In Pmono, the mechanism is di ...
-
... rclass: Object Represents the standard scheduling model for Routines, Tasks and Patterns. A Quant object stores the parameters needed to calculate the precise time when a Routine/Task/Pattern will start playing on a specified TempoClock. Th ...
-
... fadeTime_(beats) when the synthdefs that are used contain an \amp control, the patterns are replaced by crossfading the previous with the new over this time (in beats) envir_(event) provide a default event for the Pdef. It is used to filte ...
-
Pprotect evaluate a function when an error occured in the thread superclass: FilterPattern Pprotect(pattern func) pattern any pattern func the function to be evaluated when an error occurs. The error and the thread are passed as arguments t ...
-
Punop unary operator pattern superclass: Pattern Punop(operator, a) Returns a stream that applies the unary operator to the stream values of the receiver . Usually, this is the result of applying a unary operator (i.e. a method with one arg ...
-
Pcollect apply a function to a pattern superclass: FuncFilterPattern Pcollect(func, pattern) modifies each value by passing it to the function ( var a, b; a = Pcollect ({ arg item; item * 3 }, Pseq(#[1, 2, 3],inf)); x = a.asStream; 9.do({ x ...
-
Pselect select values from a pattern superclass: FuncFilterPattern Pselect(func, pattern) returns values for which the function returns true. the value is passed to the function see also: Pcollect , Preject ( var a, b; a = Pselect ({ arg it ...
-
Preject reject values from a pattern superclass: FuncFilterPattern Preject(func, pattern) rejects values for which the function returns true. the value is passed to the function see also: Pcollect , Pselect ( var a, b; a = Preject ({ arg it ...