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

Biquad DF2 Notch 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 NotchFilter< T >:
BiQuadDF2< T > Filter< T >

Public Member Functions

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

Biquad DF2 Notch 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: