![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Exponential lag filter. More...
Static Public Member Functions | |
static UnitType | ar (UnitType const &input, UnitType const &duration=SampleType(0.2), UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0), BlockSize const &preferredBlockSize=BlockSize::noPreference(), SampleRate const &preferredSampleRate=SampleRate::noPreference()) throw () |
Creates an exponential lag filter (one-pole low-pass filter). | |
static UnitType | kr (UnitType const &input, UnitType const &duration=SampleType(0.2), UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0)) throw () |
Creates a control rate exponential lag filter (one-pole low-pass filter). |
Exponential lag filter.
Useful for smoothing control signals.
static UnitType LagUnit< SampleType, InterpTypeCode >::ar | ( | UnitType const & | input, |
UnitType const & | duration = SampleType (0.2) , |
||
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) , |
||
BlockSize const & | preferredBlockSize = BlockSize::noPreference() , |
||
SampleRate const & | preferredSampleRate = SampleRate::noPreference() |
||
) | throw () [inline, static] |
Creates an exponential lag filter (one-pole low-pass filter).
input | The input signal to filter. |
duration | The -60dB lag time. |
mul | An optional multiplier. |
add | An optional offset. |
preferredBlockSize | (Optional) The preferred block size for the process. |
preferredSampleRate | (Optional) The preferred sample rate for the process. |
static UnitType LagUnit< SampleType, InterpTypeCode >::kr | ( | UnitType const & | input, |
UnitType const & | duration = SampleType (0.2) , |
||
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) |
||
) | throw () [inline, static] |
Creates a control rate exponential lag filter (one-pole low-pass filter).
input | The input signal to filter. |
duration | The -60dB lag time. |
mul | An optional multiplier. |
add | An optional offset. |