Skip to content

Commit

Permalink
Merge pull request #1865 from srcejon/fix_1862
Browse files Browse the repository at this point in the history
Use channel sample rate of 48k in RTTY and PSK31 mods
  • Loading branch information
f4exb authored Oct 28, 2023
2 parents 9a3e6c6 + 7126fb9 commit 325e4d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/channeltx/modpsk31/psk31modbaseband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void PSK31Baseband::applySettings(const PSK31Settings& settings, bool force)
{
if ((settings.m_inputFrequencyOffset != m_settings.m_inputFrequencyOffset) || force)
{
m_channelizer->setChannelization(m_channelizer->getChannelSampleRate(), settings.m_inputFrequencyOffset);
// Use fixed sample rate of 48000, so Cosine filter doesn't have a massive number of taps at high baseband sample rates (See #1862)
m_channelizer->setChannelization(48000, settings.m_inputFrequencyOffset);
m_source.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
}

Expand Down
3 changes: 2 additions & 1 deletion plugins/channeltx/modrtty/rttymodbaseband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void RttyModBaseband::applySettings(const RttyModSettings& settings, bool force)
{
if ((settings.m_inputFrequencyOffset != m_settings.m_inputFrequencyOffset) || force)
{
m_channelizer->setChannelization(m_channelizer->getChannelSampleRate(), settings.m_inputFrequencyOffset);
// Use fixed sample rate of 48000, so Cosine filter doesn't have a massive number of taps at high baseband sample rates (See #1862)
m_channelizer->setChannelization(48000, settings.m_inputFrequencyOffset);
m_source.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
}

Expand Down

0 comments on commit 325e4d8

Please sign in to comment.