-
Pgeom geometric series pattern superclass: Pattern Pgeom(start, grow, length) Returns a stream that behaves like a geometric series. start - start value (default: 1.0) grow - multiplication factor. (default: 1.0) length - number of values p ...
-
Padd add to value of a key in event stream superclass: Pset Padd(name, value, pattern) see also: Paddp , Pmul ( var a, b; a = Padd (\freq, 801, Pbind ( \freq , 100)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) value can be a p ...
-
... ms are further embedded until all have ended. Ppar(list, repeats) list: list of patterns or streams repeats: repeat the whole pattern n times (default: 1) // see the delta values in the resulting events ( var a, b, c, t; a = Pbind ( \x , Ps ...
-
Pmul multiply with value of a key in event stream superclass: Pset Pmul(name, value, pattern) see also: Padd , Pmulp ( var a, b; a = Pmul ( \freq , 801, Pbind ( \freq , 100)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) value c ...
-
Pfuncn function pattern of given length superclass: Pattern Pfunc(func, repeats) Returns a stream that returns values from the func. func - stream function repeats - end after this number of times See also: Pfunc // example ( var a, b, c; a ...
-
Prout routine pattern superclass: Pattern Prout(func) Returns a routine from the function. func - routine function See also: Proutine, Routine note that there is a shortcut to create a Prout: p(func) // example ( var a; a = Prout ({ loop { ...
-
... lity of Synth and Group objects. These objects follow the naming conventions of patterns (i.e., groups and addActions are integer ID's) and have the same stop/play/pause/resume interface as the EventStreamPlayers created by Pattern-play. So ...
-
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 ...
-
Ptpar embed event streams in parallel, with time offset superclass: ListPatterns Embeds several event streams so that they form a single output stream with all their events in temporal order, providing a global offset for each. When one str ...
-
... ch event. That event is then performed with possible modifications by enclosing patterns and the player (either an EventStreamPlayer or a ScoreStreamPlayer). The resultant event is returned to the function where it can be assigned to a key ...