From 704e6e05ae5800c67181f956924f0ea3206b8a52 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 1 Nov 2016 00:15:10 +0100 Subject: [PATCH] Tx ph.2: AMMod interpolator: increase number of phases in polyphase filter while slightly reducing the number of taps. This gives better spurs rejection --- plugins/channeltx/modam/ammod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channeltx/modam/ammod.cpp b/plugins/channeltx/modam/ammod.cpp index f83175eb8..768e63497 100644 --- a/plugins/channeltx/modam/ammod.cpp +++ b/plugins/channeltx/modam/ammod.cpp @@ -179,7 +179,7 @@ void AMMod::apply() m_interpolatorDistanceRemain = 0; m_interpolatorConsumed = false; m_interpolatorDistance = (Real) m_config.m_audioSampleRate / (Real) m_config.m_outputSampleRate; - m_interpolator.create(16, m_config.m_outputSampleRate, m_config.m_rfBandwidth / 2.2); + m_interpolator.create(48, m_config.m_outputSampleRate, m_config.m_rfBandwidth / 2.2, 4.0); m_settingsMutex.unlock(); }