-
... and ([ 1, 2, 3 ], inf ); // choose randomly one from a list ( list, numRepeats) Pxrand ([ 1, 2, 3 ]); // choose one element from a list, no repeat of previous choice Pwhite (24, 72); // within range [<hi>, <lo>], choose a random value. Pbro ...
-
... 2,2) ], 1 ), ( // state 0 0 : [ 0, Pbind ( \degree , Pseq (base - i, 1), \dur , Pxrand ([0.2,0.3],4) ) ], 1 : [ 1, Pbind ( \degree , Pseq (base.reverse - (i*2), 2), \dur , Pseq ([0.2,0.21],1) ) ], 2 : [ 2, penult ] ), ( // state 1 0 : [ 0, ...
-
... orator.shift(50, 50); PdefGui ( Pdef ( \a ), 12, w); ) Pdef ( \b , Pbind(\note, Pxrand((0..7), inf), \dur, 0.125)); Pdef ( \b ).play; PdefGui ( Pdef ( \b )); // see all Pdefs: PdefAllGui (16); Instance Variables object a Pdef, or nil numIte ...
-
... \dur ], Pseq ( [ Pseq ([[0,0.1],[2,0.1],[3,0.1],[4,0.1],[5,0.8]],2), Ptuple ([ Pxrand ([6,7,8,9],4), 0.4]), Ptuple ([ Pseq ([9,8,7,6,5,4,3,2]), 0.2]) ], inf ), \amp , 0.05, \octave , 5, \instrument , \Help_SPE7_CFString1 ).asStream; ) The ...
-
... ],16), \root ,[-24,-17], \degree , Pseq ([0,3,5,7,9,11,5,1],2), \pan ,1, \cut , Pxrand ([1000,500,2000,300],16), \rez , Pfunc ({0.7.rand +0.3}), \amp ,0.12), 0.5, Pbind ( \instrument , \pattern_Ex , \out , 20, \dur , Pseq ([ Pseq ([2],15),1 ...
-
... ernList, repeats ) - random selection from list Prand ([p, q, r], inf ).play // Pxrand( patternList, repeats ) - random selection from list without repeats Pxrand ([p, q, r], inf ).play // Pwrand( patternList, weights, repeats ) - weighted ...
-
... par ([ Pbind ( // melody part \dur , Prand ([0.2, 0.4, 0.6], inf ), \midinote , Pxrand ([71, 72, 74, 76, 77, 79], 10), \db , -26, \legato , 1.1 ), Pbind ( // harmony part \pan , 0.4, \dur , Pseq ([0.1, 0.5, 0.4, 0.6], 4), \midinote , Pseq ( ...