22 #define M_PI 3.14159265358979323846 26 m_frequencyRatio(centerFrequency/samplingFrequency),
27 m_f(
cos(2.0*
M_PI*(m_frequencyRatio)))
51 float y = m_v[0] - m_v[2];
61 float y = m_v[0] - m_v[2];
70 for (
int i = 0;
i < 3;
i++)
Fixed< IntType, IntBits > cos(Fixed< IntType, IntBits > const &x)
~SecondOrderRecursiveFilter()
void setFrequencies(float samplingFrequency, float centerFrequency)
SecondOrderRecursiveFilter(float samplingFrequency, float centerFrequency, float r)