-
Pkey access a key in an event stream superclass: 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 to read from. // \b should ...
-
... 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 ...
-
... set , ~synth[ \id ], ~synth[ \msgFunc ] ]; }, [ Pbind (*[ #[type, id, msgFunc], Pkey ( \fControl ), freq: Pseg ([0,1], 10).linexp(0,1, 0.1, 1000), index: Pseg ([0,1], 10).linexp(0,1, 0.1, 100), dur: 0.1, ]), Pbind (*[ #[type, id, msgFunc], ...
-
... vent keys to be overwritten, or one addition or multiplication to be performed. Pkey, in combination with the Pchain or Pbindf "pattern composition" classes, can do everything the following classes can do (though this alternate notation may ...
-
... ument , \help_pindex , \choice , Prand (indices, inf ), \degree , Pindex (data, Pkey ( \choice ), inf ), \dur , 0.7 ).play )
-
... hat degree and dur can share it \n , Pwhite (3, 10, inf ), \degree , Pstutter ( Pkey ( \n ), Pwhite (-4, 11, inf )), \dur , Pstutter ( Pkey ( \n ), Pwhite (0.1, 0.4, inf )), \legato , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the P ...
-
... reamp , 0.4, \dur , 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq , Pif ( Pkey ( \amp ) > 0, 1, \rest ) ) }), inf )).play(quant: 4); Penvir(~kikEnvir, ...) : Tell the enclosed pattern to run inside the kick drum's environment. Pn(..., ...
-
... structure remains parallelizable Ppar ([b, Pbindf (b, \ctranspose , 24, \dur , Pkey ( \dur ) * 0.25)]).play;
-
... d; }, Pbind ( \instrument , \playbuf , // access resources in the protoevent by Pkey \bufnum , Pkey ( \buf ), \dur , Pwhite (1, 4, inf ) * 0.25, // upper bound of Pwhite is based on duration // so that start + (dur * samplerate) never goes ...
-
... something else, though, the 'time' key should be divided by the tempo: \time , Pkey ( \delta ) / Pfunc { thisThread .clock.tempo }, ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); SynthDef ( \stretchedFragments , { |out, bufnum, start, time ...