-
... into random order Prand (list, repeats) choose from the list's values randomly Pxrand (list, repeats) choose randomly, but never return the same list item twice in a row Pwrand (list, weights, repeats) like Prand, but chooses values accord ...
-
... 11] - 1, stepsPerMode), Pseq(root + [1, 3, 5, 7, 9].reverse - 1, stepsPerMode), Pxrand(root + [1, 3, 5, 7, 9, 11, 13] - 1, stepsPerMode), Pbrown(root + -12, root + 11, 1, stepsPerMode) ], [chordWeight, largeChordWeight, downChordWeight, ran ...
-
... ), Pbind( \args, #[wobble], \wobble, Pxrand([3,1.5,6],inf), \dur, Prand([2,1],inf), ), Pbind( \args, #[t_bd], \t_bd, Pseq([1,0,0,1],inf), ...
-
... Pdefn ```supercollider ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdefn, ).play; ) p.stop; ``` #### As raw value access ```supercollider o['/1/fader1'].value; ``` #### Add a callbac ...
-
... idinote , 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 , pbindStop: false ); // stop pbind p.stop; // resume help synth a ...
-
... + Pseq ([0,1], inf ), \legato , 0.2 ] ], hsIndices: [ Pstutter ( Pwhite (5,10), Pxrand ([0, 1, [0,1]], inf )) ] ).play; ) p.free; // two Pbinds with different event timing // hsIndices specified for each ( p = PHSpar (h, // "+" wraps collec ...
-
... eVals) + Pseq([0,1],inf), \legato, 0.2 ] ], hsIndices: [ Pstutter(Pwhite(5,10), Pxrand([0, 1, [0,1]], inf)) ] ).play; ) p.free; // two Pbinds with different event timing // hsIndices specified for each ( p = PHSpar(h, // "+" wraps collectio ...
-
... nd(list, repeats): Choose items from the list randomly (same as list.choose). * Pxrand(list, repeats): Choose randomly, but never repeat the same item twice. * Pshuf(list, repeats): Shuffle the list in random order, and use the same random ...
-
... nf), [ \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, pbindStop: false); // stop pbind p.stop; // resume help synth and eve ...
-
... , [ \instrument , \simpleMorph , \midinote , Pkey ( \val ) * 30 + 60 + [0, 9] + Pxrand ([0, 1.5, -1.5], inf ), \amp , 0.07, \morphQ , Pkey ( \val ) ] ).play(c,q); ) // sync it with a normal pbind (EventStreamPlayer) with default instrument ...