lag
Exponential Lag.
Plugin opcode in scugens.
lag smooths a signal with a 60 dB lag time. For a constant input, this is the time needed to reduce the difference from the target to 0.1% of its starting value. It is a port of SuperCollider's Lag.
Syntax
Initialization
initialvalue -- optional starting value for the filter. If omitted, the filter starts at the first input value.
Performance
ain, kin -- input signal
klagtime -- 60 dB lag time in seconds. Use zero for no smoothing.
At audio rate, changes to the lag time take effect smoothly over one control block.
Examples
Here is an example of the lag opcode. It uses the file lag.csd.
See also
Standard Filters: Control signal filters
Credits
By: Eduardo Moguillansky 2017