|
sfFDN
|
Implements a sparse FIR filter. More...
#include <filter.h>
Public Member Functions | |
| SparseFir (const SparseFirOptions &config={}) | |
| Constructs a sparse FIR filter. | |
| void | SetCoefficients (const SparseFirOptions &config={}) |
| Sets the FIR coefficients. | |
| float | Tick (float in) |
| Input a sample in the filter and return the next output. | |
| void | Process (const AudioBuffer &input, AudioBuffer &output) noexcept override |
| Processes a block of input samples through the filter. | |
| uint32_t | InputChannelCount () const override |
| Returns the number of input channels supported by this processor. | |
| uint32_t | OutputChannelCount () const override |
| Returns the number of output channels produced by this processor. | |
| void | Clear () override |
| Clears the internal state of the processor. | |
| std::unique_ptr< AudioProcessor > | Clone () const override |
| Creates a copy of the filter. | |
Public Member Functions inherited from sfFDN::AudioProcessor | |
Implements a sparse FIR filter.
|
overridevirtual |
Clears the internal state of the processor.
This function resets the internal state of the filter to zero.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Creates a copy of the filter.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Returns the number of input channels supported by this processor.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Returns the number of output channels produced by this processor.
Implements sfFDN::AudioProcessor.
|
overridevirtualnoexcept |
Processes a block of input samples through the filter.
| input | The input audio buffer. |
| output | The output audio buffer. The input and output buffers must have the same number of channels and sample count. |
Implements sfFDN::AudioProcessor.
| void sfFDN::SparseFir::SetCoefficients | ( | const SparseFirOptions & | config = {} | ) |
Sets the FIR coefficients.
| config | The FIR coefficients. |
| float sfFDN::SparseFir::Tick | ( | float | in | ) |
Input a sample in the filter and return the next output.
| in | The input sample |