diff --git a/TNC/FilterCoefficients.hpp b/TNC/FilterCoefficients.hpp index 8d16667..5711dfc 100644 --- a/TNC/FilterCoefficients.hpp +++ b/TNC/FilterCoefficients.hpp @@ -9,28 +9,6 @@ namespace mobilinkd { namespace tnc { namespace filter { -const TIirCoefficients<2> dB_3 = { - {0.148416305668, 0.148416305668}, - {1.0, -0.703167388663} -}; - -const TIirCoefficients<2> dB0 = {{1.0, 1.0}, {1.0, 1.0}}; - -const TIirCoefficients<2> dB3 = { - {0.821330488584, -0.821330488584}, - {1.0, -0.642660977168} -}; - -const TIirCoefficients<3> dB6 = { - {0.704863714497, -1.40972742899, 0.704863714497}, - {1.0, -1.3445352861, 0.474919571889} -}; - -const TIirCoefficients<4> dB9= { - {0.605034079053, -1.81510223716, 1.81510223716, -0.605034079053}, - {1.0, -2.04985913806, 1.44420376126, -0.346209733102} -}; - namespace fir { // 1200Hz = -12dB, 2200Hz = 0dB; 3653Hz cutoff, 4.93 gain; cosine. @@ -341,65 +319,6 @@ const TFirCoefficients<9>* AfskFilters[] = { &dB12 }; - -#if 0 - -const TFirCoefficients<9> dB_3 = { - { 0.0190268296698, - 0.0720836132753, - 0.131839958497, - 0.178778602372, - 0.196541992372, - 0.178778602372, - 0.131839958497, - 0.0720836132753, - 0.0190268296698, - }, -}; - -const TFirCoefficients<9> dB3 = { - { - -0.0137747043237, - -0.0496069821386, - -0.0880620689921, - -0.11751320055, - 0.869433181254, - -0.11751320055, - -0.0880620689921, - -0.0496069821386, - -0.0137747043237, - } -}; - -const TFirCoefficients<9> dB6 = { - { - -0.00808574330071, - -0.0502334418895, - -0.115447610972, - -0.175051834084, - 0.796496156597, - -0.175051834084, - -0.115447610972, - -0.0502334418895, - -0.00808574330071, - } -}; - -const TFirCoefficients<9> dB9= { - { -0.000653382869306, - -0.0386591907088, - -0.121362869, - -0.208082569133, - 0.750548984054, - -0.208082569133, - -0.121362869, - -0.0386591907088, - -0.000653382869306, - } -}; -#endif - - } // fir