-
... ctrum falls off in power by 6 dB per octave. see also: WhiteNoise , PinkNoise , Randomness // compare { BrownNoise .ar(0.5) }.play; { WhiteNoise .ar(0.5) }.play; // brownian noise as a frequency modulator { SinOsc .ar( BrownNoise .ar(100, 2 ...
-
Pprob random values with arbitrary probability distribution superclass: Patterns creates an integral table on instantiation (cpu intensive) which is then used by the streams to generate random values efficiently. Pprob(distribution, lo, hi, ...
-
... .play; The above is just meant as example. LFNoise0 is a faster way to generate random steps : { Blip .ar( LFNoise0 .kr(9, 400 ,500), 4, 0.2) }.play;
-
Dwrand demand rate weighted random sequence generator superclass: DUGen *new(array, weights, length) array array of values or other ugens weights array of values (should sum up to 1.0) length number of values to return structurally related: ...
-
... nkNoise.ar(mul, add) PinkNoise.kr(mul, add) see also: WhiteNoise , BrownNoise , Randomness Generates noise whose spectrum falls off in power by 3 dB per octave. This gives equal power over the span of each octave. This version gives 8 octav ...
-
... kr(0.05+0.1.rand, 2pi.rand, 5, 5.2), 0.3) } // races ].choose; // choose one at random to use for all voices Mix .new( Array .fill(n, { // n strings tuned randomly to MIDI keys 60-90 var delayTime; // calculate delay based on a random note ...
-
NRand NRand(lo, hi, n) Generates a single random float value in a sum of n uniform distributions from lo to hi. n = 1 : uniform distribution - same as Rand n = 2 : triangular distribution n = 3 : smooth hump as n increases, distribution con ...
-
... able scales, execute Scale .directory *choose(size, pitchesPerOctave) 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 ...
-
Hasher randomized value Hasher.ar(in, mul, add) Returns a unique output value from zero to one for each input value according to a hash function. The same input value will always produce the same output value. The input need not be from zer ...
-
LFClipNoise clipped noise LFClipNoise.ar(freq, mul, add) Randomly generates the values -1 or +1 at a rate given by the nearest integer division of the sample rate by the freq argument. It is probably pretty hard on your speakers! freq - app ...