-
... fault ); ( p = Pbind ( \degree , Pseq ((0..7), inf ), \delta , 0.25, \sustain , Pwhite (1, 9, inf ) * 0.25, \amp , Pwhite (0.001, 0.15, inf ), \argKeys , #[ \amp ], // leave this out and the amp stream will be ignored \voicer , v, \type , \ ...
-
... m = MIDIOut (0); a = Pbind ( \degree , Prand ([1, 2, 3, [0, 5]], inf ), \bend , Pwhite (0, 76, inf )); // chain a midi event into the pattern and play it (see Pchain ) (a <> (type: \midi , midiout: m)).play; The following keys are supported ...
-
... numRepeats) Pxrand choose one element from a list, no repeat of previous choice Pwhite within range [<hi>, <lo>], choose a random value. Pbrown within range [<hi>, <lo>], do a random walk with a maximum <step> to the next value. Pgbrown geo ...
-
... ot({ //Define and start an AlgaPatternPlayer ~player = AlgaPatternPlayer(( dur: Pwhite(0.1, 0.5), freq: Pseq([440, 880], inf) )).play; //Use ~player for both indexing values and triggering the pattern ~pattern = AP(( def: { SinOsc.ar(\freq. ...
-
... use Plazy // to wait and evaluate ~buf.duration at play time. ~start = Plazy { Pwhite(0, ~buf.duration - Pkey(\time), inf) * ~buf.sampleRate }; ~time = Pwhite(0.1, 0.3, inf); ~pan = Pwhite(0.6, 0.8, inf) * Pseq([-1, 1], inf); ~dur = Pwhite ...
-
... 0.24; ) // first player using a HSpar ( x = PHSpar (h, pbindArgs: [ Pstutter ( Pwhite (5,10), Pseq ([0.12, 0.16], inf )), [ \midinote , Pkey ( \thisVal ) + Pseq ([[2, 5], [1, 6], [0, 7]], inf ), \legato , 0.2, \amp , 0.07], 0.24, [ \midino ...
-
... it for a random time interval p = Pstep( Pbind( \ctranspose, [0, 4, 7], \note, Pwhite(0, 12), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p]).play; ) // change degree independently of number of events that have ...
-
... \sax, \root, 3, \scale, Scale.minor, \octave, 5, \legato, 0.75, \amp, Pwhite(0.9,1.0, inf), \degree, Pseq([Pseq([Pn(4,4),3,4],2), Pseq([4,6,4,3,2,0,0,1,2,0])], inf), \dur, Pseq([Pseq([2,1/2,Pn(1/4,3),3/4],2), Pseq([1.5,1,1,1,1 ...
-
... }, // The \delta key is used automatically for the spawner.wait() call \delta, Pwhite(1, 4, inf) * 0.25 )).play; ) p.stop; ⧉ ✔ Previous: Pattern Guide 06c: Composition of Patterns Next: Pattern Guide 06e: Language Control helpfile source: ...
-
... ved automatically, see posted Pbind pairs \default .pVarGui(pAfter: [ \degree , Pwhite (0,5)], post: true ).gui; // pattern pair replacement as in basic example above \default .pVarGui(pReplace: [ \dur , PL ( \dur ) * Prand ([2,1,1], inf )] ...