-
... dur: Pwrand([0.25,0.5,1,0.125], [16,16,1,1].normalizeSum, inf), release: Pkey(\dur), freq_mul: Pstutter(Pwrand([1,2,4],[5,3,2].normalizeSum,inf), Pxrand((1..6), inf)), freq1: Pstutter(Pxrand((2,4..16), inf), Prand((1..4), inf)), ...
-
... 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], ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... p = PHS(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: true, pbindSt ...
-
... lines for another variation // \ctranspose, [-8, 0], // \strum, 0.045, // \amp, Pkey(\amp) * [1, 0.2] );