-
Pwrap constrain the range of output values by wrapping superclass: FilterPattern Pwrap(pattern, lo, hi) Note : this is equivalent to pattern.wrap(lo, hi) see also SimpleNumber ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0. ...
-
Pkey access a key in an event stream superclass: Pattern Pkey simplifies backward access to values in an event being processed by Pbind or another event pattern. *new(key) The key is the name of the event variable to read from. // \b should ...
-
Pgroup superclass: FilterPattern Pgroup(pattern) Starts a new Group and plays the pattern in this group. The group is released when the stream has ended. The group's release is delayed (default 0.1 beats) until after the last note releases. ...
-
Pstutter repeat input stream values superclass: FilterPattern Pstutter(n, pattern) repeat each element n times n may be a pattern, so the number of times can vary each iteration ( var a, b; a = Pstutter (2, Pseq([1, 2, 3],inf)); x = a.asStr ...
-
loop / repeat create an object that behaves like a stream that returns values for a limited (or infinite) number of times. Function-loop repeats the function forever. f = { 3.yield }; x = Routine({ f.loop }); 10.do({ x.next.postln }) Object ...
-
Pfindur limit total duration of events embedded in a stream superclass: FilterPattern Pfindur(dur, pattern, tolerance) embeds elements of the pattern into the stream until the duration comes close enough to dur . ( var a, b; a = Pfindur (5, ...
-
Pfunc function pattern superclass: Pattern Pfunc(nextFunc, resetFunc) Returns a stream that returns values from the nextFunc. nextFunc - stream function resetFunc - function that is called when the stream is reset. See also: Pfuncn // examp ...
-
Pbind combine several value patterns to one event stream by binding keys to values Inherits from: Object : AbstractFunction : Pattern Pbind combines several value streams into one event stream. Each value stream is assigned to one or more k ...
-
Pseries artithmetic series pattern superclass: Pattern Pseries(start, step, length) Returns a stream that behaves like an arithmetric series. start - start value (default: 0) step - addition factor. (default: 1) length - number of values pr ...
-
Tdef task reference definition Inherits from: Object : AbstractFunction : Pattern : PatternProxy : TaskProxy Pdefn provides an interface to its superclass TaskProxy . Tdef keeps a reference to a task ( time pattern ) that can be replaced wh ...