/*************************************************************************** * Copyright (C) 2004 by Johan Maes - ON4QZ * * on4qz@telenet.be * * http://users.telenet.be/on4qz * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include "filterparam.h" // rFIR // localSamplingrate = 11025.000000 // number of taps = 121 // Band0 Lower=0.000000, Upper=999.999000, Desired=0.000000, Weight=10.000000 // Band1 Lower=1075.000000, Upper=1325.000000, Desired=1.000000, Weight=1.000000 // Band2 Lower=1400.000000, Upper=5512.500000, Desired=0.000000, Weight=10.000000 //Coefficients: const float fbp1200[NUMTAPS]= { 0.012579, 0.0109375, -0.00386243, 0.00267025, -0.00621365, -0.00226926, -0.00442247, 0.000508226, 0.00146865, 0.00416556, 0.00301513, 0.00189557, -0.000648706, -0.00170732, -0.00199711, -0.000972526, -0.000188633, -4.47547e-05, -0.000972658, -0.0019342, -0.00186457, 0.000129322, 0.00349913, 0.00653756, 0.00696214, 0.00344446, -0.00333038, -0.0104751, -0.0140531, -0.011135, -0.00169354, 0.0107441, 0.020286, 0.0214253, 0.0120455, -0.00486969, -0.0219932, -0.0308294, -0.0258517, -0.00773577, 0.0162498, 0.0350802, 0.0390778, 0.0248932, -0.00234601, -0.0307115, -0.0468041, -0.0420761, -0.0173994, 0.0168276, 0.0450775, 0.0538092, 0.0380617, 0.00421087, -0.0326972, -0.0556616, -0.0537122, -0.0272707, 0.0119547, 0.0461091, 0.0595482, 0.0461091, 0.0119547, -0.0272707, -0.0537122, -0.0556616, -0.0326972, 0.00421087, 0.0380617, 0.0538092, 0.0450775, 0.0168276, -0.0173994, -0.0420761, -0.0468041, -0.0307115, -0.00234601, 0.0248932, 0.0390778, 0.0350802, 0.0162498, -0.00773577, -0.0258517, -0.0308294, -0.0219932, -0.00486969, 0.0120455, 0.0214253, 0.020286, 0.0107441, -0.00169354, -0.011135, -0.0140531, -0.0104751, -0.00333038, 0.00344446, 0.00696214, 0.00653756, 0.00349913, 0.000129322, -0.00186457, -0.0019342, -0.000972658, -4.47547e-05, -0.000188633, -0.000972526, -0.00199711, -0.00170732, -0.000648706, 0.00189557, 0.00301513, 0.00416556, 0.00146865, 0.000508226, -0.00442247, -0.00226926, -0.00621365, 0.00267025, -0.00386243, 0.0109375, 0.012579 }; // blFIR Root Raised Cosine // localSamplingrate = 11025.000000 // number of taps = 121 // corner frequency = 800.000000 // beta = 0.600000 // window applied // demodulator frequency = 1750.000000 //Coefficients: const float f800[NUMTAPS]= { -0.00013035, -7.89367e-05, 2.27368e-05, 0.000129877, 0.000187864, 0.000156137, 3.18382e-05, -0.000138679, -0.000271241, -0.000280195, -0.000127425, 0.000140837, 0.000395928, 0.00047895, 0.000287276, -0.000147121, -0.000638021, -0.000913164, -0.000753723, -0.00014003, 0.000683113, 0.00128253, 0.0012456, 0.000431266, -0.000876, -0.00202519, -0.00228897, -0.00127102, 0.000779964, 0.00295603, 0.00405629, 0.00321274, 0.000475864, -0.00298756, -0.00529174, -0.00474149, -0.000860483, 0.00501671, 0.0100318, 0.0110289, 0.00627087, -0.00318306, -0.0132944, -0.0184813, -0.0143411, -0.000558128, 0.0174949, 0.0296874, 0.0248836, -0.00347631, -0.0520681, -0.105125, -0.136456, -0.116291, -0.0212728, 0.155659, 0.399193, 0.67216, 0.92327, 1.10018, 1.16394, 1.10018, 0.92327, 0.67216, 0.399193, 0.155659, -0.0212728, -0.116291, -0.136456, -0.105125, -0.0520681, -0.00347631, 0.0248836, 0.0296874, 0.0174949, -0.000558128, -0.0143411, -0.0184813, -0.0132944, -0.00318306, 0.00627087, 0.0110289, 0.0100318, 0.00501671, -0.000860483, -0.00474149, -0.00529174, -0.00298756, 0.000475864, 0.00321274, 0.00405629, 0.00295603, 0.000779964, -0.00127102, -0.00228897, -0.00202519, -0.000876, 0.000431266, 0.0012456, 0.00128253, 0.000683113, -0.00014003, -0.000753723, -0.000913164, -0.000638021, -0.000147121, 0.000287276, 0.00047895, 0.000395928, 0.000140837, -0.000127425, -0.000280195, -0.000271241, -0.000138679, 3.18382e-05, 0.000156137, 0.000187864, 0.000129877, 2.27368e-05, -7.89367e-05, -0.00013035 };