A demand-rate UGen that produces random decimal numbers with a constant
spectral density, equivalent to WhiteNoise
for audio- or control-rate.
===Examples===
// random frequency
play {
val in = Dwhite(lo = 0, hi = 15)
val tr = Impulse.kr(5)
val v = Demand.kr(tr, in)
v.poll(tr)
val f = v * 30 + 300
SinOsc.ar(f) * 0.1
}
- See also
- Companion
- class