diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
| commit | 55305a51ab218d83b04c669d2d4802c08b9bfd22 (patch) | |
| tree | ea207dc64335f601eb64815cb20ca767cb7b302f /Modulator/Modulator.cpp | |
| parent | 40574b7e2351202c19ca28e5f133511878d7ac3f (diff) | |
| parent | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (diff) | |
Update upstream source from tag 'upstream/2.4.0_rc1+repack'
Update to upstream version '2.4.0~rc1+repack'
with Debian dir 0eeb5347725d90ba31891461bba2ac808f205c0b
Diffstat (limited to 'Modulator/Modulator.cpp')
| -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]); } |
