-
DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...
-
DebugPbind : Pbind { embedInStream { arg inevent; var event; var sawNil = false; var streampairs = patternpairs.copy; var endval = streampairs.size - 1; streampairs.pairsDo({ |key, pat, i| streampairs[i+1] = pat /*.trace(prefix: key.asStrin ...
-
... unch of "score snippets" // =================================== ( ~kick1 = Pbind( \instrument, "kick", \midinote, Pseq([1], inf), \amp, Pseq([1.5], inf), \rel, 0.72167044595617, \dur, Pseq([0.72, Rest(0.72), 0.72], inf), \g ...
-
... 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 ...
-
... 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.asStream; 9.do({ x.next( Event .new).postln; }); ) Pset overrides incoming values: ( var a, ...
-
... nch of "score snippets" // =================================== ( ~hihat1 = Pbind( \instrument, "hihat", \dur, Pseq([1/8, Rest(2/8), 2/8, 1/8], inf), \att, 0.01, \rel, Pseq([0.3, 1, 0.1, 0.3], inf), \ffreq, 11000, \pan, 0, ...
-
... lay; (type:\dirt, orbit:1, s: \cr, speed:2/5).play; ) // some hihats ( Pdef(\x, Pbind( \type, \dirt, \s, \hh, \n, Pseq([1, 0, 0, 0, 0], inf), \speed, Pseq([1, 1, 0.5, 1.2], inf), \dur, 0.25 * Pseq([1, 1/2, 1, 2, 2, 1/2], inf), \room, Pseq([ ...
-
... tern exchange (PLx) 3. Mixed GUIs Ex.3a: Synths from different SynthDefs Ex.3b: Pbinds from different SynthDefs Ex.3c: Synths and Pbinds 4. Differences between shortcut builds and direct VarGui instantiation 5. Shortcut method specifictions ...
-
... attern 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 you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( \a ) * ...
-
... attern 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 you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( \a ) * ...