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

The LowpassCalculator class calculates low pass filter coefficients for a dynamic DynamicIIRFilter. More...

#include <LowpassCalculator.h>

Inheritance diagram for LowpassCalculator:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

The LowpassCalculator class calculates low pass filter coefficients for a dynamic DynamicIIRFilter.

Constructor & Destructor Documentation

◆ LowpassCalculator()

LowpassCalculator::LowpassCalculator ( float frequency,
float Q )

Creates a LowpassCalculator object.

Parameters
frequencyThe cutoff frequency.
QThe Q factor of the filter. If unsure, use 1.0 as default.

Member Function Documentation

◆ recalculateCoefficients()

virtual void LowpassCalculator::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: