SSB modulator: fixed saturation when going DSB

pull/85/head
f4exb 2017-10-12 19:35:57 +02:00
rodzic 090684d6e4
commit d49ff21985
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -240,7 +240,7 @@ void SSBMod::pullAF(Complex& sample)
case SSBModInputTone:
if (m_running.m_dsb)
{
Real t = m_toneNco.next();
Real t = m_toneNco.next()/1.25;
sample.real(t);
sample.imag(t);
}
@ -378,7 +378,7 @@ void SSBMod::pullAF(Complex& sample)
{
if (m_running.m_dsb)
{
Real t = m_toneNco.next() * fadeFactor;
Real t = (m_toneNco.next() * fadeFactor)/1.25;
sample.real(t);
sample.imag(t);
}