|
sfFDN
|
Implements a bank of filters. More...
#include <filterbank.h>
Public Member Functions | |
| FilterBank () | |
| Constructs an empty filter bank. | |
| void | Clear () override |
| Clears the filter bank. | |
| void | AddFilter (std::unique_ptr< AudioProcessor > filter) |
| Adds a filter to the filter bank. | |
| void | Process (const AudioBuffer &input, AudioBuffer &output) noexcept override |
| Processes a block of input samples through the filter bank. | |
| 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. | |
| std::unique_ptr< AudioProcessor > | Clone () const override |
| Creates a copy of the filter bank. | |
Public Member Functions inherited from sfFDN::AudioProcessor | |
Implements a bank of filters.
| void sfFDN::FilterBank::AddFilter | ( | std::unique_ptr< AudioProcessor > | filter | ) |
Adds a filter to the filter bank.
| filter | A unique pointer to the filter to add. The FilterBank takes ownership of the filter. |
|
overridevirtual |
Clears the filter bank.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Creates a copy of the filter bank.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Returns the number of input channels supported by this processor.
This is equal to the number of filters in the filter bank.
Implements sfFDN::AudioProcessor.
|
overridevirtual |
Returns the number of output channels produced by this processor.
This is equal to the number of filters in the filter bank.
Implements sfFDN::AudioProcessor.
|
overridevirtualnoexcept |
Processes a block of input samples through the filter bank.
| 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. The number of channels must be equal to the number of filters in the filter bank. |
Implements sfFDN::AudioProcessor.