diff --git a/filter/ynotch.h b/filter/ynotch.h index 1af0475..23db0de 100644 --- a/filter/ynotch.h +++ b/filter/ynotch.h @@ -4,8 +4,8 @@ #include #include -template namespace trnr { +template // Notch filter based on YNotch by Chris Johnson class ynotch { public: diff --git a/filter/ysvf.h b/filter/ysvf.h index 717e8f8..a4a18bd 100644 --- a/filter/ysvf.h +++ b/filter/ysvf.h @@ -5,7 +5,6 @@ #include "ynotch.h" namespace trnr { -template enum filter_types { lowpass = 0, @@ -14,6 +13,7 @@ enum filter_types { notch }; +template class ysvf { public: ysvf(double _samplerate)