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

Biquad DF2 Low Pass 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 LowPassFilter< T >:
BiQuadDF2< T > Filter< T >

Public Member Functions

 LowPassFilter (float frequency, float sampleRate, float q=0.7071f)
 
void begin (float frequency, float sampleRate, float q=0.7071f)
 
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::LowPassFilter< T >

Biquad DF2 Low Pass 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
pschatzmann
Template Parameters
T

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