-
Pwrand: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Undocumented instance methods embedInStream weights Examples Classes | Streams-Patterns-Events > Pa ...
-
Pwrand embed values randomly chosen from a list superclass: ListPattern returns one item from the list at random for each repeat, the probability for each item is determined by a list of weights which should sum to 1.0. ( var a, b; a = Pwra ...
-
Pwxrand : Pwrand Like Pwrand , outputs values randomly from a list according to a list of weights, but Pwxrand will never output the same list element twice in a row. w = Pwrand ((1..10), (1..10).reciprocal.normalizeSum, inf ).asStream; w.n ...
-
Pwxrand : Pwrand Like Pwrand , outputs values randomly from a list according to a list of weights, but Pwxrand will never output the same list element twice in a row. w = Pwrand ((1..10), (1..10).reciprocal.normalizeSum, inf ).asStream; w.n ...
-
PLwrand dynamic scope Pwrand variant Part of: miSCellaneous Inherits from: PL_ListPattern Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx suite . See a ...
-
... Streams-Patterns-Events > PLx suite'>PLx suite PLwrand Extension dynamic scope Pwrand variant Location: NOT INSTALLED! See also: miSCellaneous , Pwrand , PLrand , PLxrand , PLshuf , PLshufn , PLx suite , Event patterns and Functions , VarG ...
-
... \amp, 0.5, \lag, 0, \trig, Pseq([0.1], inf) * Pwhite(0.5, 1, inf) * Pwrand([0, 1], [1, 5].normalizeSum, inf), \sing_switch, Pseq((0!4) ++ (1!4), inf) ) ); Pdef(\bell_2, Pmono(\prayer_bell, \dur, Pwhite(8, 20, ...
-
... eo-2", \scale, Scale.phrygian, \degree, Pseq([0,3,5,7,9,11,14,17], inf) + Pwrand([0, 1], [0.9, 0.1], inf), \pulseFreq, Pwhite(3, 9), \dur, Pseq([Pseq(0.33!8, 2), Pseq([0.1], 1)], inf), \amp, Pwhite(0.3, 1), \rq, Pwhite(0.0 ...
-
... ( Pwhite ) return one element before yielding control back to the "selector" ( Pwrand ). \degree , Pwrand ([ Pwhite (-7, 11, 1), Pwhite (7, 18, 1)], #[0.7, 0.3], inf ) This does not work if the ranges need to keep their own integrity. For ...
-
... fining pitch material, then combine them with Pchain . ~rhythm = Pbind ( \dur , Pwrand (#[0.125, 0.25, 0.5], #[0.3, 0.5, 0.2], inf ), \legato , Pwrand (#[0.1, 0.6, 1.01], #[0.1, 0.3, 0.6], inf ) ); ~melody = Pbind ( \degree , Pwhite (-4, 11 ...