![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Exponential decay 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 deacy 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 deacy filter. | |
Exponential decay filter.
Useful for creating simple decaying envlopes from impulses.
| static UnitType DecayUnit< 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 deacy filter.
| input | The input signal to filter. |
| duration | The -60dB decay 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 DecayUnit< 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 deacy filter.
| input | The input signal to filter. |
| duration | The -60dB decay time. |
| mul | An optional multiplier. |
| add | An optional offset. |
1.7.4