From 3988540b6ca9d37067fd9c595787e2f25f6155a4 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Thu, 12 May 2022 14:18:48 +0200 Subject: [PATCH] Changed coefficients for the 41-tap, 24kHz RRC filter to have unitary input-output gain --- openrtx/include/protocols/M17/M17DSP.h | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/openrtx/include/protocols/M17/M17DSP.h b/openrtx/include/protocols/M17/M17DSP.h index b61cc718..a7ebca29 100644 --- a/openrtx/include/protocols/M17/M17DSP.h +++ b/openrtx/include/protocols/M17/M17DSP.h @@ -69,20 +69,20 @@ static constexpr std::array rrc_taps_48k = static constexpr std::array rrc_taps_24k = { - -0.00451938415438936, -0.00274450532197076, 0.00218779365365964, - 0.00673430845820838, 0.00682318809319229, 0.00135581524631680, - -0.00599438920196964, -0.00869773330332975, -0.00241007626827605, - 0.0102043146279916, 0.0189814134484353, 0.0119494155102909, - -0.0151820458389266, -0.0516157561976790, -0.0720949100387685, - -0.0474535336210882, 0.0391686342706687, 0.179164496628150, - 0.336694345124862, 0.461088271869920, 0.508340710642860, - 0.461088271869920, 0.336694345124862, 0.179164496628150, - 0.0391686342706687, -0.0474535336210882, -0.0720949100387685, - -0.0516157561976790, -0.0151820458389266, 0.0119494155102909, - 0.0189814134484353, 0.0102043146279916, -0.00241007626827605, - -0.00869773330332975, -0.00599438920196964, 0.00135581524631680, - 0.00682318809319229, 0.00673430845820838, 0.00218779365365964, - -0.00274450532197076, -0.00451938415438936 + -0.002021130037130002, -0.001227380092907312, 0.000978411066065117, + 0.003011674298801149, 0.003051422479929027, 0.000606339011138998, + -0.002680772347838965, -0.003889744583281823, -0.001077818873364855, + 0.004563508234396922, 0.008488746155946006, 0.005343941074480147, + -0.006789617306671533, -0.023083267913613266, -0.032241823935683658, + -0.021221865389865011, 0.017516745763008643, 0.080124798723015214, + 0.150574288667793071, 0.206204943905808818, 0.227336876945597260, + 0.206204943905808818, 0.150574288667793071, 0.080124798723015214, + 0.017516745763008643, -0.021221865389865011, -0.032241823935683658, + -0.023083267913613266, -0.006789617306671533, 0.005343941074480147, + 0.008488746155946006, 0.004563508234396922, -0.001077818873364855, + -0.003889744583281823, -0.002680772347838965, 0.000606339011138998, + 0.003051422479929027, 0.003011674298801149, 0.000978411066065117, + -0.001227380092907312, -0.002021130037130002, }; /*