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

The HighpassCalculator class calculates high pass filter coefficients for a dynamic DynamicIIRFilter. More...

#include <HighpassCalculator.h>

Inheritance diagram for HighpassCalculator:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

The HighpassCalculator class calculates high pass filter coefficients for a dynamic DynamicIIRFilter.

Constructor & Destructor Documentation

◆ HighpassCalculator()

HighpassCalculator::HighpassCalculator ( float frequency,
float Q )

Creates a HighpassCalculator object.

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

Member Function Documentation

◆ recalculateCoefficients()

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