-
... 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 ...
-
... easily read from other values that have already been placed into the event. The Pkey pattern looks up the key in the event currently being processed and returns its value. From there, you can do any other pattern-friendly operation on it: f ...
-
... seq([65, 90], inf)], nil], // ~val refers to current switch : [0.1, [\midinote, Pkey(\val) + Pseq([0,1],inf), \legato, 0.2 ] ] ).play; ) // stop and free HSpar p.free; // no need to define a switch pattern // default switch index = 0, defau ...
-
... tune, 0.13, \vibHz, 7, \vibPhs, 0, \vibDepth, 0.15, \vibFadeIn, Pkey(\dur) * 0.6, \sustain, Pkey(\dur) * 1.1, \atk, (Pkey(\dur) * 0.3).max(0.1), \sus, 0.1, \rel, 0.25, \c0, 0.5, \c1, -2, \gate, 1, ...
-
... easily read from other values that have already been placed into the event. The Pkey pattern looks up the key in the event currently being processed and returns its value. From there, you can do any other pattern-friendly operation on it: f ...
-
... ins_1st_sus_lowest_note-1)/3).floor }, \buf, Pindex(~violins_1st_sus_buffers, Pkey(\index)), \rate, (Pfunc{ |e| e.use {~midinote.()}} - Pindex(~violins_1st_sus_midinotes, Pkey(\index))).midiratio, \amp, Pwhite(0.05, 0.1, inf), \dur, ...
-
... Buf, \pisano, Pseq( pisano, repeats ), \buf, b, \amp, Pindex( amps, Pkey( \pisano ) ), \dur, Pindex( durs, Pkey( \pisano ) ), \pan, Pindex( pans, Pkey( \pisano ) ), \startPos, Pindex( starts, Pkey( \pisano ) ) ) ...
-
... 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, ...
-
... 0,120] ],inf)) ]), Pbind(*[ instrument: \bass, delta: 1/4, dur: Pkey(\delta) * Pfunc({ thisThread.clock.beatDur }), freq: Pseq([\r, 50,60,70], inf), amp:0.6 ]), Pbind(*[ instrument: \bazz, delta: 1/4, dur: ...
-
... 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 ...