-
... lso: Pshuf Description Like Pshuf , Pnshuf streams out the members of a list in random order. The differences are: repeats is the number of items to output this time. (In Pshuf, it is the number of times to loop over the shuffled list.) The ...
-
... 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).asStream.n ...
-
... for modification ⧉ ✔ Scale. choose ( size: 7 , pitchesPerOctave: 12 ) Creates a random scale from the library, constrained by size and pitchsPerOctave if desired. Scale.choose; // could be anything Scale.choose(7); // will be a seven-note s ...
-
... n sequence: [4, 2, 9, 12, 6, 11, 5, 10, 13, 14, 15, 7, 3, 1, 8] Returns: Pseudo random numbers 0-15. Inherited class methods Instance Methods Inherited instance methods Examples s.boot; //just post the values {var trig= Impulse.ar(4); RedLF ...
-
... AbstractFunction : Object sequentially embed values in a list in constant, but random order Source: ListPatterns.sc See also: Prand Description Returns a shuffled version of the list item by item, with n repeats . Class Methods Inherited c ...
-
... Bus.index, K2A.ar(MouseX.kr(0, 1, lag:1)))}).play; //mouseXY control + a little random d.free; d= SynthDef("pos", {Out.ar(r.posBus.index, LFNoise2.ar(120, MouseY.kr(0, 0.1), MouseX.kr(0, 1, lag:1)))}).play; //back to static position d.free; ...
-
... t'>List Pxrand : ListPattern : Pattern : AbstractFunction : Object embed values randomly chosen from a list Source: ListPatterns.sc See also: Prand , Pwrand Description Like Prand , returns one item from the list at random for each repeat, ...
-
... kr(r.posBus.index, MouseX.kr(0, 1, lag:1))}).play; //mouseXY control + a little random d.free; d= SynthDef("pos", {Out.kr(r.posBus.index, LFNoise2.kr(120, MouseY.kr(0, 0.1), MouseX.kr(0, 1, lag:1)))}).play; //back to static position d.free; ...
-
... conds. grainrate The rate at which new grains are created (in Hz). winrandpct A randomness factor for window size (as a percentage of the winsize). mul add Inherited class methods Instance Methods Inherited instance methods Examples ( s.sen ...
-
... . key = value Inherited instance methods Examples ( // An event pattern playing random scale degrees p = Pbind(\dur, 0.125, \degree, Pwhite(0, 10)); // Se what the value of the scale degrees are using trace Ptrace(p, \degree, prefix: "Curre ...