RADLib
RADical C++ application framework
RADDsp::BiquadCascade Class Reference

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...
 

Detailed Description

Stateful cascade of biquad sections.

Member Function Documentation

◆ addSection()

void RADDsp::BiquadCascade::addSection ( BiquadCoefficients  section)

Appends one section and creates matching state.

◆ clear()

void RADDsp::BiquadCascade::clear ( )

Removes all sections and states.

◆ process()

std::vector<float> RADDsp::BiquadCascade::process ( const std::vector< float > &  samples)

Processes a block through all sections and updates states.

◆ processSample()

float RADDsp::BiquadCascade::processSample ( float  input)

Processes one sample through all sections.

◆ reset()

void RADDsp::BiquadCascade::reset ( )

Resets all section states.

◆ sections()

const std::vector<BiquadCoefficients>& RADDsp::BiquadCascade::sections ( ) const

Returns current section coefficients.

◆ setSections()

void RADDsp::BiquadCascade::setSections ( std::vector< BiquadCoefficients sections)

Replaces all sections and resets section states.


The documentation for this class was generated from the following file: