A converter UGen that takes a control-rate input and produces an audio-rate
output by means of linear interpolation. The current control input value is
always reached in at the beginning of the subsequent control block. A special
case is the initialization which begins directly at the first control input
value (therefore, the first control block of the audio-rate output is is always
constant.)
For example, if the block size is 64, and the first three input values are
-0.5, 0.6, 0.3, then the output signal will be 65 samples of value -0.5,
followed by a linear ramp of 64 samples towards 0.6, followed by a linear ramp
of 64 samples to towards 0.3.
Examples
// compare control and audio rate
play {
val a = K2A.ar(WhiteNoise.kr(0.3))
val b = WhiteNoise.ar(0.3)
val c = LFPulse.ar(1, Seq(0, 0.5))
c * Seq(a, b)
}
A converter UGen that takes a control-rate input and produces an audio-rate output by means of linear interpolation. The current control input value is always reached in at the beginning of the subsequent control block. A special case is the initialization which begins directly at the first control input value (therefore, the first control block of the audio-rate output is is always constant.)
For example, if the block size is 64, and the first three input values are -0.5, 0.6, 0.3, then the output signal will be 65 samples of value -0.5, followed by a linear ramp of 64 samples towards 0.6, followed by a linear ramp of 64 samples to towards 0.3.
Examples
DC
T2A
A2K