-
... HS (h, nil , // default help synth args Prand ([0.4, 0.2], inf ), [ \midinote , Pkey ( \val ), \amp , 0.1 ], 0.1, [ \midinote , Pkey ( \val ) + 9.5 + Pxrand ([0, 2, 5], inf ), \amp , 0.08 ] ).play; ) // stop only help synth p.stop(hsStop: t ...
-
... 2, \note, Pslide([0, 2, 3, 5]-3, inf, 3, 1, 0), \octave, Pseq([3], inf), \dur, Pkey(\mydur), \sustain, {~dur/4} )) ) Pdef(\player).play Pdef(\player).stop Pdef(\player).gui /// just another pattern on midiB ( Pdef(\playerB).quant = [4, 1]; ...
-
... seStartFreq, Pwhite(1000, 2000), \impulseStopFreq, Pwhite(130, 230), \bendTime, Pkey(\amp)/2 );
-
... nd ( \dur , 0.25, \freq , Pn ( Pstutter (4, Pseq ([800, 400])))+(sin( Ptime ()/ Pkey ( \dur )*2pi*(1/40))*10).trace).play a.stop //and the equivalent (well, roughly) synth as well... (compare how time is handled differently in the original ...
-
... encer ( ~b = ( def: \seq1, val: Pseq([220, 440, 880], inf), dur: 0.25, sustain: Pkey(\dur) ); //Connect sequencer ~a <<.freq ~b; ) //Interpolation still works ( ~b.it = 5; ~b <<.val Pseq([220, 440, 880], inf); ) //Latest values are preserve ...
-
... lines for another variation // \ctranspose, [-8, 0], // \strum, 0.045, // \amp, Pkey(\amp) * [1, 0.2] );
-
... ve to be given as collection; ~val refers to current switch [0.1, [ \midinote , Pkey ( \val ) + [0, 5], \legato , 0.2, \amp , [0.1, 0.07]]] ).play; ) // stop and free HSpar by player p.free; ///////////////////////////////////////////////// ...
-
... nd ( \dev , Ptime ().collect(f), // current time passed to function \midinote , Pkey ( \dev ) + 60 + [0, 4], \amp , 0.05, \dur , 0.15 ).play; ) p.stop; ////////////////////////// // example with GUI ( // parametric control function f = { |x ...
-
... delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.degree, ev.use({ ~freq.value })].postln; ev }).play; ) p.stop; // play th ...
-
... delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.degree, ev.use({ ~freq.value })].postln; ev }).play; ) p.stop; // play th ...