sc_lagSignal Modifiers:Standard Filters:Controlsc_lagsc_lag
Exponential Lag (DEPRECATED)
DescriptionPlugin opcode in scugens.
Exponential lag with 60dB lag time. DEPRECATED (renamed as lag)
Syntaxaout sc_lag ain, klagtime [, initialvalue]kout sc_lag kin, klagtime [, initialvalue]Initializationinitialvalue If given, sets the internal state. It defaults to the
first value passed
Performanceain -- input signal
klagtime -- 60 dB lag time in seconds.
kladown -- 60 dB lag time in seconds for the downgoing signal.
This is essentially the same as one pole except that instead of
supplying the coefficient directly, it is calculated from a 60
dB lag time. This is the time required for the filter to
converge to within 0.01% of a value. This is useful for
smoothing out control signals.
Examples
Here is an example of the sc_lag opcode. It uses the file sc_lag.csd.
Example of the sc_lag opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoStandard Filters: Control signal filtersCreditsBy: &nameeduardo; 2017