arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
BiQuadDF2< T > Class Template Reference

Biquad DF2 Filter. When dealing with high-order IIR filters, they can get unstable. To prevent this, BiQuadratic filters (second order) are used. Converted from https://github.com/tttapa/Filters/blob/master/src/BiQuad.h Use float or double (and not a integer type) as type parameter. More...

#include <Filter.h>

Inheritance diagram for BiQuadDF2< T >:
Filter< T > BandPassFilter< T > HighPassFilter< T > HighShelfFilter< T > LowPassFilter< T > LowShelfFilter< T > NotchFilter< T >

Public Member Functions

 BiQuadDF2 (const T(&b)[3], const T(&a)[2])
 
 BiQuadDF2 (const T(&b)[3], const T(&a)[2], T gain)
 
 BiQuadDF2 (const T(&b)[3], const T(&a)[3])
 
 BiQuadDF2 (const T(&b)[3], const T(&a)[3], T gain)
 
process (T value)
 

Protected Attributes

a_1 = 0
 
a_2 = 0
 
b_0 = 0
 
b_1 = 0
 
b_2 = 0
 
w_0 = 0
 
w_1 = 0
 

Detailed Description

template<typename T>
class audio_tools::BiQuadDF2< T >

Biquad DF2 Filter. When dealing with high-order IIR filters, they can get unstable. To prevent this, BiQuadratic filters (second order) are used. Converted from https://github.com/tttapa/Filters/blob/master/src/BiQuad.h Use float or double (and not a integer type) as type parameter.

Author
Pieter P tttapa / pschatzmann
Template Parameters
T

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