-
... if ( Pkey ( \degree ).odd, 0.25, 0.5) ).play; p.stop; Pseed(randSeed, pattern): Random number generators depend on seed values; setting a specific seed produces a repeatable stream of pseudorandom numbers. Pseed sets the random seed before ...
-
Dust random impulses Dust.ar(density, mul, add) Generates random impulses from 0 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust" , { arg out=0; Out .ar(out, Dust .ar(200, 0.5) ) }).play; ) ( SynthDef ( "help- ...
-
Dust2 random impulses Dust2.ar(density, mul, add) Generates random impulses from -1 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust2" , { arg out=0; Out .ar(out, Dust2 .ar(200, 0.5) ) }).play; ) ( SynthDef ( " ...
-
IRand IRand(lo, hi) Generates a single random integer value in uniform distribution from lo to hi ( SynthDef ( "help-IRand" , { Out .ar( I Rand (0, 1), //play on random channel between 0 and 1 FSinOsc .ar(500, 0, Line .kr(0.2, 0, 0.1, doneA ...
-
RandSeed set the synth's random generator seed RandSeed.kr(trig, seed) RandSeed.ar(trig, seed) When the trigger signal changes from nonpositive to positve, the synth's random generator seed is reset to the given value. All synths that use t ...
-
TRand triggered random number generator TRand.kr(lo, hi, trig) TRand.ar(lo, hi, trig) Generates a random float value in uniform distribution from lo to hi each time the trig signal changes from nonpositive to positive values ( { var trig = ...
-
ExpRand exponential distribution single random float value ugen ExpRand(lo, hi) Generates a single random float value in an exponential distributions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | ...
-
... e0 step noise LFNoise0.ar(freq, mul, add) LFNoise0.kr(freq, mul, add) Generates random values at a rate. freq - approximate rate at which to generate random values. see also: LFDNoise0 , LFNoise1 , LFNoise2 { LFNoise0 .ar(1000, 0.25) }.play ...
-
... .ar(freq, mul, add) LFNoise1.kr(freq, mul, add) Generates linearly interpolated random values at a rate. freq - approximate rate at which to generate random values. see also: LFDNoise1 , LFNoise0 , LFNoise2 { LFNoise1 .ar(1000, 0.25) }.play ...
-
Rand uniform distribution single random float value ugen Rand(lo, hi) Generates a single random float value in uniform distribution from lo to hi. It generates this when the SynthDef first starts playing, and remains fixed for the duration ...