Dbrown returns numbers in the continuous range between lo
and hi
, Dibrown returns integer values.
The arguments can be a number or any other UGen.
See Pbrown, BrownNoise for structurally related equivalents.
lo |
Minimum value. |
hi |
Maximum value. |
step |
Maximum step for each new value. |
length |
Number of values to create. Use |
(
{
var a, freq, trig;
a = Dbrown(0, 15, 1, inf);
trig = Impulse.kr(MouseX.kr(1, 40, 1));
freq = Demand.kr(trig, 0, a) * 30 + 340;
SinOsc.ar(freq) * 0.1
}.play;
)