-
Pkey : 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 you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( ...
-
Pkey : 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 you want to read. p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( ...
-
... HS (h, nil , // default help synth args Prand ([0.4, 0.2], inf ), [ \midinote , Pkey ( \val ), \amp , 0.08 ], 0.1, [ \midinote , Pkey ( \val ) + 9.5 + Pxrand ([0, 2, 5], inf ), \amp , 0.06 ] ).play; ) // stop player and free HS, ready to be ...
-
... elp synth #1 : [ [ \center , Pseq ([65, 90], inf )], nil ], [0.1, [ \midinote , Pkey ( \val ) /* ~val refers to current switch */ + Pseq ([0,1], inf ), \legato , 0.2 ] ] ).play; ) // stop and free HSpar p.free; // no need to define a switch ...
-
... t, Pfunc { |ev| ~fileInfo[ev[\bufIndex]][\instrument] }, \bufnum, Pindex(~bufs, Pkey(\bufIndex)), \amp, BPStream(\amp) / Pfunc { |ev| ~fileInfo[ev[\bufIndex]][\peak] }, // \rate, Pindex(~fileInfo.collect(_[\rate]), Pkey(\bufIndex)), \rate, ...
-
... gs // two pbinds with different timing Prand ([0.4, 0.2], inf ) , [ \midinote , Pkey ( \val ) + 4, \amp , 0.07 ], 0.1, [ \midinote , Pkey ( \val ) + 15 + Pxrand ([0, 2, 5], inf ), \amp , 0.04, \legato , 0.5 ] ); v = PHSuse (h, // two pbinds ...
-
... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelay2 ( Pkey ( \abc ), 0.25).trace).play a.stop
-
... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelay1 ( Pkey ( \abc ), 0.25).trace).play a.stop
-
... \dur , 1/6, \legato , 0.2, \abc , Pseq ([3, 2, 2, 0, 2, 2, 2], inf ), \degree , Pkey ( \abc ), \amp , PDelayN ( Pkey ( \abc ), 3, 3, 0.25).trace).play a.stop
-
... LFDNoise3 .kr(devFreq, dev, midiCenter) }); p = PHS (h, [], 0.15, [ \midinote , Pkey ( \val ) ]); // Instantiation and return of a new paused Synth from HS's synth definition x = p.newPaused; // second intermediate object: // PHS's asTask m ...