-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... rand(list, repeats) Choose items from the list randomly (same as list.choose ). Pxrand(list, repeats) Choose randomly, but never repeat the same item twice in immediate succession. Pshuf(list, repeats) Shuffle the list in random order, and ...
-
... [], 0.2, [\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 // no u ...
-
... s.free; ⧉ ✔ as a Pdefn ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdefn, ).play; ) p.stop; ⧉ ✔ as a raw value o['/1/fader1'].value; ⧉ ✔ via a callback on change o['/1/fader1'].callb ...
-
... names Random Patterns Prand choose randomly one from a list ( list, 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>], d ...
-
... ), Pn(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, Pbind(\d ...
-
... t of values that are embedded Pwrand - embed values randomly chosen from a list Pxrand - embed values randomly chosen from a list FilterPatterns FilterPattern - abstract class that holds a pattern to be modified FuncFilterPattern - Abstract ...
-
... view.decorator.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); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Help ...