|
sfFDN
|
Implements a cascade of biquad IIR filters. More...
#include <filter.h>
Classes | |
| struct | IIRState |
| Represents the internal state of the IIR filter. More... | |
Public Member Functions | |
| CascadedBiquads (const CascadedBiquadsOptions &config={}) | |
| Constructs a cascaded biquad filter. | |
| void | SetCoefficients (std::span< const FilterCoefficients > coeffs) |
| Sets the biquad coefficients for each stage. | |
| float | Tick (float in) |
| Processes a single input sample through the filter. | |
| 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 cascade of biquad IIR filters.
| struct sfFDN::CascadedBiquads::IIRState |
|
overridevirtual |
Clears the internal state of the processor.
This function resets the internal state of all biquad stages 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::CascadedBiquads::SetCoefficients | ( | std::span< const FilterCoefficients > | coeffs | ) |
Sets the biquad coefficients for each stage.
| coeffs | A span of FilterCoefficients, one for each biquad stage. |
| float sfFDN::CascadedBiquads::Tick | ( | float | in | ) |
Processes a single input sample through the filter.
| in | The input sample. |