Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ButterworthCalculator Class Reference

The ButterworthCalculator class calculates fourth order Butterworth low pass filter coefficients for a dynamic DynamicIIRFilter. More...

#include <ButterworthCalculator.h>

Inheritance diagram for ButterworthCalculator:
Inheritance graph
[legend]

Public Member Functions

 ButterworthCalculator (float frequency)
 Creates a ButterworthCalculator object.
 
virtual void recalculateCoefficients (SampleRate rate, std::vector< float > &b, std::vector< float > &a)
 Recalculates the filter coefficients.
 

Detailed Description

The ButterworthCalculator class calculates fourth order Butterworth low pass filter coefficients for a dynamic DynamicIIRFilter.

Constructor & Destructor Documentation

◆ ButterworthCalculator()

ButterworthCalculator::ButterworthCalculator ( float frequency)

Creates a ButterworthCalculator object.

Parameters
frequencyThe cutoff frequency.

Member Function Documentation

◆ recalculateCoefficients()

virtual void ButterworthCalculator::recalculateCoefficients ( SampleRate rate,
std::vector< float > & b,
std::vector< float > & a )
virtual

Recalculates the filter coefficients.

Parameters
rateThe sample rate of the audio data.
[out]bThe input filter coefficients.
[out]aThe output filter coefficients.

Implements IDynamicIIRFilterCalculator.


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