-
... .) Creation *new(pattern, spawnProtoEvent) pattern: An event pattern (typically Pbind) encapsulating the desired spawning behavior. Parameters in this event are described below. spawnProtoEvent: The event prototype against which the pattern ...
-
... assed to g g.value(f.value(1)); --> 4 Event patterns can be similarly composed. Pbindf(pattern, pairs): Adds new key-value pairs onto a pre-existing Pbind-style pattern. Pbindf(Pbind(\a, patternA), \b, patternB, \c, patternC) gets the same ...
-
... a.asStream; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Ptime .new.trace, \dur , Pseries (0.5, 0.5, 5) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a ...
-
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 ...
-
... ig Note, but don't tell the pigs and ponies. Value Patterns, Event Patterns and Pbind The patterns discussed in parts 2 and 3 are known as "value patterns" because their streams return a single value for each call to next . Here we introduc ...
-
What's that Pbind thing? Some of the examples in the last tutorial played notes using Pbind, and you might be wondering how it works in general and what else you can do with it. In the most general sense, Pbind is just a way to give names t ...
-
... fault: 1) // see the delta values in the resulting events ( var a, b, c, t; a = Pbind ( \x , Pseq ([1, 2, 3, 4]), \dur , 1); b = Pbind ( \x , Pseq ([10, 20, 30, 40]), \dur , 0.4); c = Ppar ([a, b]); t = c.asStream; 20.do({ t.next( Event .de ...
-
... w(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, \degree , Pseq ([7, 8, 7, 8])), c: Pbind ( \dur , 0.3, \degree , Pseq ([0, 1, 2], ...
-
... also Ppar // see the delta values in the resulting events ( var a, b, c, t; a = Pbind ( \x , Pseq ([1, 2, 3, 4]), \dur , 1); b = Pbind ( \x , Pseq ([10, 20, 30, 40]), \dur , 0.4); c = Ptpar ([0.0, a, 1.3, b]); t = c.asStream; 20.do({ t.next ...
-
... 0, env), pan)) }).add; ) s.boot; // example: ( // a fixed duration pattern: f = Pbind ( \dur , 0.5, \degree , Pn (4,1), \instrument , \help_sinegrain ); // this pattern has indetermined length: a = Prand ([ Pbind ( \dur , Pseq ([0.02, 0.002 ...