A cascade of N arbitrary filters applied in series. Each sample is passed through all filters in order. The caller owns the filter pointers and must ensure they outlive the chain.
More...
#include <Filter.h>
|
| | FilterChain (Filter< T > *(&&filters)[N]) |
| |
| T | process (T value) override |
| | Processes the input value and returns the filtered output value.
|
| |
| void | reset () override |
| |
template<typename T,
size_t N>
class audio_tools::FilterChain< T, N >
A cascade of N arbitrary filters applied in series. Each sample is passed through all filters in order. The caller owns the filter pointers and must ensure they outlive the chain.
- Template Parameters
-
| T | sample type |
| N | number of filters in the chain |
◆ FilterChain()
template<typename T ,
size_t N>
◆ process()
template<typename T ,
size_t N>
Processes the input value and returns the filtered output value.
Implements Filter< T >.
◆ reset()
template<typename T ,
size_t N>
Clears the internal state (delay lines) without changing the coefficients. Call after reconfiguring filter parameters via begin() to avoid transients from stale state.
Reimplemented from Filter< T >.
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/AudioFilter/Filter.h