diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-03 22:54:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-03 22:54:50 +0100 |
| commit | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (patch) | |
| tree | 13b31e80d276b67cca79f8077efbba2ad3863f34 /Modulator | |
| parent | 3209ca0e2d4243c861c3d1d6022ba1da4f9f2fc8 (diff) | |
New upstream version 2.4.0~rc1+repackupstream/2.4.0_rc1+repack
Diffstat (limited to 'Modulator')
| -rw-r--r-- | Modulator/Modulator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modulator/Modulator.cpp b/Modulator/Modulator.cpp index 96963029..0d24485c 100644 --- a/Modulator/Modulator.cpp +++ b/Modulator/Modulator.cpp @@ -71,6 +71,7 @@ void Modulator::start (QString mode, unsigned symbolsLength, double framesPerSym m_TRperiod=TRperiod; unsigned delay_ms=1000; if(mode=="FT8" or (mode=="FST4" and m_nsps==720)) delay_ms=500; //FT8, FST4-15 + if(mode=="Q65" and m_nsps<=3600) delay_ms=500; //Q65-15 and Q65-30 if(mode=="FT4") delay_ms=300; //FT4 // noise generator parameters @@ -317,7 +318,7 @@ qint64 Modulator::readData (char * data, qint64 maxSize) sample=qRound(m_amp*qSin(m_phi)); //Here's where we transmit from a precomputed wave[] array: - if(!m_tuning and (m_toneSpacing < 0)) { + if(!m_tuning and (m_toneSpacing < 0) and (itone[0]<100)) { m_amp=32767.0; sample=qRound(m_amp*foxcom_.wave[m_ic]); } |
