packages feed

hsc3-0.1: Help/UGen/Noise/nRand.help.lhs

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 converges towards gaussian

> n <- nRand 1200.0 4000.0 (MCE [2, 5])
> audition (out 0 (fSinOsc AR n 0 * line KR 0.2 0 0.01 RemoveSynth))