|
RADLib
RADical C++ application framework
|
Stateful cascade of biquad sections. More...
#include <RADDsp.h>
Public Member Functions | |
| void | setSections (std::vector< BiquadCoefficients > sections) |
| Replaces all sections and resets section states. More... | |
| void | addSection (BiquadCoefficients section) |
| Appends one section and creates matching state. More... | |
| void | clear () |
| Removes all sections and states. More... | |
| void | reset () |
| Resets all section states. More... | |
| const std::vector< BiquadCoefficients > & | sections () const |
| Returns current section coefficients. More... | |
| float | processSample (float input) |
| Processes one sample through all sections. More... | |
| std::vector< float > | process (const std::vector< float > &samples) |
| Processes a block through all sections and updates states. More... | |
Stateful cascade of biquad sections.
| void RADDsp::BiquadCascade::addSection | ( | BiquadCoefficients | section | ) |
Appends one section and creates matching state.
| void RADDsp::BiquadCascade::clear | ( | ) |
Removes all sections and states.
| std::vector<float> RADDsp::BiquadCascade::process | ( | const std::vector< float > & | samples | ) |
Processes a block through all sections and updates states.
| float RADDsp::BiquadCascade::processSample | ( | float | input | ) |
Processes one sample through all sections.
| void RADDsp::BiquadCascade::reset | ( | ) |
Resets all section states.
| const std::vector<BiquadCoefficients>& RADDsp::BiquadCascade::sections | ( | ) | const |
Returns current section coefficients.
| void RADDsp::BiquadCascade::setSections | ( | std::vector< BiquadCoefficients > | sections | ) |
Replaces all sections and resets section states.