-
... it embeds only one of its values for each index, and thus switches between all patterns in the list. see also: Pswitch ( var a, b; a = Pseq ([1, 2, 3], inf); b = Pseq ([65, 76], inf); c = Pswitch1 ([a, b, 800], Pseq ([2, 2, 0, 1], inf )); ...
-
Pset event pattern that sets values of one key superclass: FilterPattern Pset(name, value, pattern) Pset sets a value in an event stream. It acts like one key in a Pbindf ( var a, b; a = Pset (\freq, 801, Pbind ( \dur , 0.5)); x = a.asStrea ...
-
Pif Pattern-based conditional expression. superclass: Pattern Pif(condition, iftrue, iffalse, default) condition : A pattern or stream returning a Boolean value. iftrue : This stream is evaluated if the Boolean is true. iffalse : This strea ...
-
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 ...
-
Pdict pattern that embeds patterns from a dictionary superclass: Penvir *new(dict, keyPattern, repeats, default) // example SynthDescLib .read; ( e = ( a: Pbind ( \dur , 0.1, \degree , Pseq ([0, 5, 4, 3, 2])), b: Pbind ( \dur , 0.06, \degre ...
-
Paddpre event pattern that adds to existing value of one key superclass: FilterPattern Pset(name, value, pattern) adds a value in an event, before it is passed up the stream. to add to the value after it has been passed to the stream, use P ...
-
... . The loop actually starts with a half-beat anacrusis, so Ptpar delays the bell patterns by 0.5 beats. ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); // one loop segment SynthDef ( \oneLoop , { |out, bufnum, start, time, amp| var sig = Play ...
-
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 ...
-
Float floating point number superclass: SimpleNumber A 64 bit double precision floating point number. Float inherits most of its behaviour from its superclass. *from32Bits(word) Answer a new Float from a 32 bit word. *from64Bits(word) Answe ...
-
PhidKey pattern that polls values from a human device interface, based on a named slot superclass: Pattern *new(key, device, repeats) key key defined in the Spec of the device, pointing to a slot like a button or an axis device a GeneralHID ...