1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 11:04:10 -04:00

CW smoother: set default ramp time to 4ms and set the modulators ramp time at the same value

This commit is contained in:
f4exb
2016-12-16 00:02:37 +01:00
parent 5571e01a65
commit 014ada12ba
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ SSBMod::SSBMod(BasebandSampleSink* sampleSink) :
m_cwKeyer.setWPM(13);
m_cwKeyer.setMode(CWKeyer::CWNone);
m_cwSmoother.setNbFadeSamples(96); // 2 ms at 48 kHz
m_cwSmoother.setNbFadeSamples(192); // 4 ms at 48 kHz
apply();
}
@@ -674,7 +674,7 @@ void SSBMod::apply()
{
m_settingsMutex.lock();
m_cwKeyer.setSampleRate(m_config.m_audioSampleRate);
m_cwSmoother.setNbFadeSamples(m_config.m_audioSampleRate / 500); // 2 ms
m_cwSmoother.setNbFadeSamples(m_config.m_audioSampleRate / 250); // 4 ms
m_settingsMutex.unlock();
}