-
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 ...
-
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 ...
-
Using samples Playing a pattern in time with a sampled loop A deceptively complex requirement... here, we will loop the a11wlk01.wav sample between 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and o ...
-
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 ...
-
... Answer this since this is a Float. as32Bits Answer an Integer which is the bit pattern of this as a 32bit single precision float high32Bits Answer an Integer which is the bit pattern of high 32 bits of the 64 bit double precision floating ...
-
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 ...