A dynamic ramp noise UGen. It is similar to LFNoise2 , with three
differences: It uses cubic instead of quadratic interpolation for the random
values between -1 and +1 at a rate given by the freq argument. There is no
time quantization, and it there is fast recovery from low freq values.
In contrast, LFNoise0 , LFNoise1 , and LFNoise2 quantize to the nearest
integer division of the sample rate, and they poll the freq argument only when
scheduled, and thus seem to hang when the frequencies get very low.
// compare dynamic and non-dynamic
val r = MouseX.kr(0.1, 1000, 1)
val a = LFNoise2 .ar(r)
val b = LFDNoise3.ar(r)
val freq = Select.ar(MouseButton.kr(lag = 0), Seq(a, b))
SinOsc.ar(freq.madd(200, 500)) * 0.2
rate at which to generate random values.