-
Drand, Dxrand demand rate random sequence generators superclass: ListDUGen *new(array, length) array array of values or other ugens length number of values to return structurally related: Prand see also: Demand Dxrand never plays the same v ...
-
Pshuf sequentially embed values in a list in constant, but random order superclass: ListPatterns returns a shuffled version of the list item by item, with n repeats . Pshuf(list, repeats) ( var a, b; a = Pshuf ([1, 2, 3, 4, 5], 3); // repea ...
-
Pxrand embed values randomly chosen from a list like Prand , returns one item from the list at random for each repeat, but Pxrand never repeats the same element twice in a row. see also: Pwrand ( var a, b; a = Pxrand .new(#[1, 2, 3], 10); / ...
-
... eturn the list's values in order Pshuf(list, repeats) -- scramble the list 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 ...
-
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 ...
-
Prand embed values randomly chosen from a list superclass: ListPattern Embed one item from the list at random for each repeat. see also: Pxrand , Pwrand ( var a, b; a = Prand ([1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b. ...
-
... ip, wrap, fold, linlin, linexp, etc.) operators are all valid with patterns. // Random integers, 1-5 Pwhite (1, 5, inf ).asStream.nextN(10); // Random integers 1-5, multiplied by two gives even integers 2-10 ( Pwhite (1, 5, inf ) * 2).asStr ...
-
Dshuf demand rate random sequence generator superclass: ListDUGen *new(array, length) array array of values or other ugens length number of repeats structurally related: Pshuf see also: Demand // example ( { var a, freq, trig; a = Dseq ([ D ...
-
Pexprand random values that follow a Exponential Distribution superclass: Pattern Pexprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0001 and 1.0) lo and hi should both be positive or negative (their range should ...
-
Dwhite, Diwhite demand rate white noise random generators superclass: DUGen *new(lo, hi, length) lo minimum value hi maximum value length number of values to create Dwhite returns numbers in the continuous range between lo and hi, Diwhite r ...