pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
DC removal filter. More...
Static Public Member Functions | |
static UnitType | ar (UnitType const &input, UnitType const &control=SampleType(0.99), UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0), BlockSize const &preferredBlockSize=BlockSize::noPreference(), SampleRate const &preferredSampleRate=SampleRate::noPreference()) throw () |
Creates a DC removal filter. | |
static UnitType | kr (UnitType const &input, UnitType const &control=SampleType(0.99), UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0)) throw () |
Creates a control rate exponential deacy filter. |
DC removal filter.
static UnitType DCUnit< SampleType, InterpTypeCode >::ar | ( | UnitType const & | input, |
UnitType const & | control = SampleType (0.99) , |
||
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) , |
||
BlockSize const & | preferredBlockSize = BlockSize::noPreference() , |
||
SampleRate const & | preferredSampleRate = SampleRate::noPreference() |
||
) | throw () [inline, static] |
Creates a DC removal filter.
input | The input signal to filter. |
control | The leakage control coefficient. |
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 DCUnit< SampleType, InterpTypeCode >::kr | ( | UnitType const & | input, |
UnitType const & | control = SampleType (0.99) , |
||
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) |
||
) | throw () [inline, static] |
Creates a control rate exponential deacy filter.
input | The input signal to filter. |
control | The leakage control coefficient. |
mul | An optional multiplier. |
add | An optional offset. |