-
Plprand random values that tend toward lo superclass: Pattern Plprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Plprand (0. ...
-
Phprand random values that tend toward hi superclass: Pattern Phprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Phprand (0. ...
-
... 32 with step 2. *rand(size, minVal, maxVal) Fill a SequenceableCollection with random values in the range minVal to maxVal. Array .rand(8, 1, 100); *rand2(size, val) Fill a SequenceableCollection with random values in the range -val to +va ...
-
Pmeanrand random values that tend toward ((lo + hi) / 2) superclass: Pattern Pmeanrand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w ...
-
Pwhite random values with uniform distribution superclass: Pattern Pwhite(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a; a = Pwhite (0.0, ...
-
TWindex triggered windex *kr(trig,array,normalize) When triggered, returns a random index value based on array as a list of probabilities. by default the list of probabilities should sum to 1.0, when the normalize flag is set to 1, the valu ...
-
... r use fixed freqs, LFNoise0 is more efficient. freq - rate at which to generate random values. // try wiggling the mouse quickly; // LFNoise frequently seems stuck, LFDNoise changes smoothly. { LFClipNoise .ar( MouseX .kr(0.1, 1000, 1), 0.1 ...
-
... FFT of size 16384 a = 2048; // kernel buffer g = Buffer .alloc(s, a, 1); ) ( // random impulse response g.set(0, 1.0); 100.do { arg i; g.setn(a.rand, 1.0.rand) }; { var input, kernel; input = SoundIn .ar(0); kernel = PlayBuf .ar(1, g, BufRa ...
-
Ppoisson random values that follow a Poisson Distribution (positive integer values) superclass: Pattern Ppoisson(mean, length) mean The mean of the distribution (defaults to 1) length number of values produced (default: inf) // example ( va ...
-
... y; ) The Function will be evaluated n times, each time creating a SinOsc with a random frequency from 500 to 1000 Hz (500 plus a random number between 0 and 500). The mul arg of each SinOsc is set to 1 / n, thus ensuring that the total ampl ...