26template <
class T =
float>
28 double cos_omega = std::cos(M_PI * f_n);
29 double normalize = 2 - 2 * cos_omega;
32 T(-2 * cos_omega / normalize),
Finite Impulse Response filter implementation.
FIRFilter< 3, T > simpleNotchFIR(double f_n)
Create a very simple second-order FIR notch filter.