Abstract filter interface definition. Subclasses implement process() to transform audio samples one at a time. Use reset() to clear internal state (e.g. delay lines) without changing the filter coefficients.
More...
#include <Filter.h>
template<typename T = float>
class audio_tools::Filter< T >
Abstract filter interface definition. Subclasses implement process() to transform audio samples one at a time. Use reset() to clear internal state (e.g. delay lines) without changing the filter coefficients.
- Author
- pschatzmann
- Template Parameters
-
| T | sample type (e.g. int16_t, float, double) |
◆ Filter() [1/2]
template<typename T = float>
◆ ~Filter()
template<typename T = float>
◆ Filter() [2/2]
template<typename T = float>
| Filter |
( |
Filter< T > const & | | ) |
|
|
delete |
◆ operator=()
template<typename T = float>
◆ process()
template<typename T = float>
| virtual T process |
( |
T | in | ) |
|
|
pure virtual |
Processes the input value and returns the filtered output value.
◆ reset()
template<typename T = float>
Clears the internal state (delay lines) without changing the coefficients. Call after reconfiguring filter parameters via begin() to avoid transients from stale state.
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/AudioFilter/Filter.h