Similar to Lag but with other curve shapes than exponential. A change on the input will take the specified time to reach the new value. Useful for smoothing out control (not audio) signals.
VarLag.arcurrently accepts audio-rate input, but the underlying implementation treats the input as control rate. Effectively, then, the "sampling rate" of VarLag's input is
server.sampleRate / server.options.blockSize, and the maximum safe frequency to feed into VarLag is half of this. VarLag does not currently yield correct results for full-bandwidth audio-rate signals. Use
VarLag.arat your own risk.
The input signal.
Lag time in seconds.
Control curvature if warp input is 5 (default). 0 means linear, positive and negative numbers curve the segment up and down.
Determines the shape. The possible values are:
All values above will ignore curvature input.
NOTE: When controlling this from the outside, use
Initial value. If not specified, same as the input signal.
Output will be multiplied by this value.
This value will be added to the output.