From eedee3a0c87afa5ba72333e74be3396f2f3444de Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 6 Jul 2017 23:52:15 +0000 Subject: [PATCH] Correct two more 2048 --> 1920 numbers. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7800 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Modulator.cpp | 2 +- plotter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modulator.cpp b/Modulator.cpp index 67a77049d..88f24f2f9 100644 --- a/Modulator.cpp +++ b/Modulator.cpp @@ -86,7 +86,7 @@ void Modulator::start (unsigned symbolsLength, double framesPerSymbol, if (synchronize && !m_tuning && !m_bFastMode) { m_silentFrames = m_ic + m_frameRate - (mstr * m_frameRate / 1000); } - if(m_ic==0 and (m_silentFrames/48000.0 > 0.6) and m_nsps==2048 and m_period==15) { + if(m_ic==0 and (m_silentFrames/48000.0 > 0.6) and m_nsps==1920 and m_period==15) { // FT8 mode: Start audio at t=0.5 s rather than t=1.0 s. m_silentFrames=m_silentFrames-24000; } diff --git a/plotter.cpp b/plotter.cpp index d0a044297..e9c755012 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -361,7 +361,7 @@ void CPlotter::DrawOverlay() //DrawOverlay() float bw=9.0*12000.0/m_nsps; //JT9 - if(m_mode=="FT8") bw=8*12000.0/2048.0; //FT8 + if(m_mode=="FT8") bw=8*12000.0/1920.0; //FT8 if(m_mode=="JT4") { //JT4 bw=3*11025.0/2520.0; //Max tone spacing (3/4 of actual BW)