Merge pull request #67 from juribeparada/c4fmdemod

New YSF filter for TX
c4fmdemod
Jonathan Naylor 2017-03-30 07:54:46 +01:00 committed by GitHub
commit 33293258f3
1 changed files with 5 additions and 5 deletions

View File

@ -30,11 +30,11 @@ static q15_t YSF_C4FSK_FILTER[] = {688, -680, -2158, -3060, -2724, -775, 2684, 7
11310, 7041, 2684, -775, -2724, -3060, -2158, -680, 688, 0}; 11310, 7041, 2684, -775, -2724, -3060, -2158, -680, 688, 0};
const uint16_t YSF_C4FSK_FILTER_LEN = 22U; const uint16_t YSF_C4FSK_FILTER_LEN = 22U;
#else #else
// Generated using rcosdesign(0.2, 8, 5, 'sqrt') in MATLAB // Generated using rcosdesign(0.2, 8, 4, 'sqrt') in MATLAB
static q15_t YSF_C4FSK_FILTER[] = {401, 104, -340, -731, -847, -553, 112, 909, 1472, 1450, 683, -675, -2144, -3040, -2706, -770, 2667, 6995, static q15_t YSF_C4FSK_FILTER[] = {448, 0, -622, -954, -619, 349, 1391, 1704, 764, -1182, -3028, -3279, -861,
11237, 14331, 15464, 14331, 11237, 6995, 2667, -770, -2706, -3040, -2144, -675, 683, 1450, 1472, 909, 112, 4135, 10280, 15335, 17288, 15335, 10280, 4135, -861, -3279, -3028, -1182,
-553, -847, -731, -340, 104, 401, 0}; 764, 1704, 1391, 349, -619, -954, -622, 0, 448, 0};
const uint16_t YSF_C4FSK_FILTER_LEN = 42U; const uint16_t YSF_C4FSK_FILTER_LEN = 34U;
#endif #endif
const q15_t YSF_LEVELA_HI[] = { 809, 809, 809, 809, 809}; const q15_t YSF_LEVELA_HI[] = { 809, 809, 809, 809, 809};