Commit Graph

3511 Commits

Author SHA1 Message Date
Bill Somerville
11a4139350 Fix complex buffer size for real to complex DFT
This fixes a memory corruption issue.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7776 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 15:05:17 +00:00
Steven Franke
adf648e0f3 Improved SNR calibration.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7775 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 11:24:30 +00:00
Bill Somerville
764d1baccc Do not wait for PTT report from DX Lab Suite Commander when using direct DTR or RTS PTT
The recent  change to delay  Tx audio  until Commander reports  PTT is
really asserted should not be done when a direct RTS or DTR PTT method
is  being used.   This does  leave a  remote chance  of ALC  overshoot
issues from audio starting too early so  it is down to the user to set
an   appropriate  "Settings->Advanced->Tx Delay"   to   ensure    safe
operating.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7774 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 02:37:34 +00:00
Steven Franke
ea12ba34fe This stops Steve's mac from crashing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7773 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 01:31:43 +00:00
Joe Taylor
cf6ff745a2 Oops! Those two 'unused' variables are actually used.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7772 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 00:36:45 +00:00
Steven Franke
27de2481bb Remove some unused variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7771 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-02 00:08:17 +00:00
Joe Taylor
d8c883dd52 Add timer calls for ft8downsample.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7770 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 20:47:59 +00:00
Joe Taylor
42ec06c9e1 Add checkBoxes to (potentially) replace the CTRL+M commands for minimizing window sizes. Suggestions for better positioning, etc, are welcome.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7769 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 19:05:52 +00:00
Bill Somerville
f73a35842a Reduce stack usage of F8 decoder modules
Reverted to default stack allocation for jt9.exe on Windows.

Tidied up FT8 decoder inteface  to remove arguments that will probably
never be used.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7768 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 18:46:14 +00:00
Steven Franke
53dbe3248f Make ft8d work with recent changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7767 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 17:58:57 +00:00
Bill Somerville
ad8fb434a1 Temporarily increase Windows stack size for jt9.exe
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7766 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 17:43:47 +00:00
Steven Franke
0bd8542ccf Guard against bounds error in candidate array.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 16:06:18 +00:00
Bill Somerville
ff6b29f3df Synchronize with rig PTT state when using DX Lab Suite Commander
Because Commander  queues up CAT commands  the timing of Tx  audio was
not being correctly synchronized to the rig PTT. This change polls the
rig  PTT state  after changing  PTT  and waits  for  it to  go to  the
expected state.   As it happens, just  doing a query does  most of the
synchronization  as the  query gets  queued behind  the PTT  directive
within  Commander,  with  the  reply being  delayed  until  the  query
completes.  This change goes further  and checks the PTT state changes
within one second.

Note  that users  using  Commander  will should  not  suffer from  ALC
overshoot issues on rigs that suffer such a problem since Tx audio now
only  commences after  the rig  has switched  to transmit.  Users with
hardware sequencers  may need to adjust  their "Settings->Advanced->Tx
Delay" parameter, this change does not introduce any new timing hazard
but there may be a slight lengthening  of the delay to Tx audio if the
rig reports PTT via  CAT as the audio delay may now  be timed from the
actual PTT on the rig rather than the assertion of RTS/DTR.

Still outstanding  is the  slow processing  of Commander  CAT requests
which can cause considerable delays before Tx audio can start.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 16:04:25 +00:00
Steven Franke
624ef493a8 Remove s from ft8b argument list.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7763 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 14:58:34 +00:00
Steven Franke
4c88ab860b Add more bounds checks.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7762 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 14:47:52 +00:00
Steven Franke
12c1b45c66 tweak
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7761 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 14:36:55 +00:00
Steven Franke
ff4e4b1828 Don't need to pass s into ft8b anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7760 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 14:36:08 +00:00
Steven Franke
c4f056dca8 Fix a bounds violation.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7759 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 13:45:16 +00:00
Joe Taylor
c61d328300 Remove a qDebug() flagging posts to PSKreporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7758 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 13:37:29 +00:00
Steven Franke
304cbaa672 Use complex signal for fine sync and symbol demod. Lower sync threshold. Improved SNR estimate.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7757 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 13:08:30 +00:00
Bill Somerville
2687a308d6 Smarter Tx sequencing that allows for CAT processing latency
When using  split operating and/or rig  mode setting there is  a delay
before PTT  is asserted  while the CAT  commands are  processed. There
will even be  a small delay if  CAT is only used for  PTT. This change
waits for these  commands to be completed before starting  the user Tx
delay specified in the settings.

There is  a notable exception to  this in that DX  Lab Suite Commander
does not give us a way of knowing when CAT commands have actually been
completed.   This combined  with  the way  that  Commander spaces  CAT
commands, rather  than being paced  by the rig's CAT  responses, means
that delays of more than 1 second are likely. As most rigs suffer some
sort of ALC overshoot when PTT is asserted with audio already present,
it is strongly recommended not to use  the DX Lab Suite Commander as a
rig control proxy if your rig may  suffer ALC overshoot and you use an
external PA. Please note that using a typical RF power meter to detect
ALC  overshoots is  unwise  as  they are  rarely  fast  enough. It  is
probably wise to assume that all rigs suffer ALC overshoot since it is
very difficult to design an ALC loop that avoids it.

This change  also increases  the range of  the "Settings->Advanced->Tx
Delay" spin box to 0s up to 2s.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7756 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-07-01 00:19:58 +00:00
Joe Taylor
f6ecfec363 Add some timer calls; fix reporting of FT8 spots to PSKreporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7755 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-30 20:11:07 +00:00
Steven Franke
ec34c3b03b Fix up command-line decoder ft8d.f90 so that it works with recent changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7754 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-30 14:07:17 +00:00
Joe Taylor
b8eafac0db Upgrade jt9.f90 for command-line processing of FT8 files.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7753 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-30 13:55:19 +00:00
Joe Taylor
26e7b98350 Correct another typo in FrequencyList.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7752 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-29 15:55:47 +00:00
Bill Somerville
d96484e8d5 Fix typo in default frequency list.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7751 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-29 15:24:34 +00:00
Joe Taylor
d94effcf41 Make FT8 available to all users, for testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7750 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-29 15:16:02 +00:00
Joe Taylor
e20bd5eae1 Don't execute AutoSeq steps after sending a 73.
For FT8 mode:
  1. Open LU 13 in the proper way.
  2. Disable diagnostic LU 51.
  3. Add keyboard shortcuts CTRL+Plus, CTRL-Minus, to adjust audio Tx frequency
     in even 50 Hz steps.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7749 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-29 13:42:24 +00:00
Joe Taylor
804543c6f8 Protect against bounds error when nfa=0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7748 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 18:48:31 +00:00
Joe Taylor
7195f121dd FT8 mode: Add suggested default freqs; start Tx audio at t=0.5 s rather than 1.0 s; Correct the displayed value of DT.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7747 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 18:23:56 +00:00
Joe Taylor
f6af18bff4 Add straw-man default dial frequencies for FT8.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7746 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 15:43:34 +00:00
Joe Taylor
3658e32d57 Use norder=3 at the QSO frequency.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7745 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 15:34:38 +00:00
Joe Taylor
43295f018d Improvements to FT8 decoder.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7744 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 14:38:06 +00:00
Bill Somerville
7e77fb70bc Remove code that attempts to maintain on-air frequency for small QSYs
This feature is of limited  benefit and causes unexpected behaviour on
rigs with lower than 1Hz resolution. Removed for simplicity.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-28 01:54:35 +00:00
Joe Taylor
80ad721524 Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7742 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-27 20:50:17 +00:00
Joe Taylor
41336209c8 Rearrange some FT8 code for consistency with other modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7741 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-27 19:44:12 +00:00
Joe Taylor
7e62880e2a More tweaks to GUI for FT8.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7740 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-27 13:36:10 +00:00
Joe Taylor
023fceb620 Correct the displayed UTC for FT8 decodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-26 23:45:19 +00:00
Joe Taylor
8b6f3d8920 Fix behavior of RxFreq in FT8 mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7738 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-26 19:33:26 +00:00
Joe Taylor
a1783e5e7a Mark Rx and Tx freqs on Wide Graph in FT8 mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7737 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-26 15:36:24 +00:00
Joe Taylor
91fbeff072 Many GUI adjustments for FT8.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7736 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-26 15:24:56 +00:00
Steven Franke
9ae479e9d9 1. add error-pattern rejection to osd174 (factor of 3 speedup for norder=3)
2. osd codeword selected based on correlation discrepancy instead of Hamming dist (improves sensitivity)
3. trap zero-valued spectrum values caused by large dt.
4. trap all-zero codeword
4. both decoders return number of hard errors
5. osd174 returns correlation discrepancy (rejection threshold still needs to be tuned).
6. both decoders return the codeword with bits in as-transmitted order, for subtraction.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7735 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-23 14:14:09 +00:00
Steven Franke
d44e580148 More development tool tweaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7734 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-22 13:54:21 +00:00
Steven Franke
ff4327cd56 Update some development tools.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7733 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-22 13:47:28 +00:00
Steven Franke
273e8de689 Restore normal Fast MSK144 transmission after toggling Fast box and/or after returning to MSK144 from FT8.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7732 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-20 02:48:30 +00:00
Joe Taylor
430de42c5d No present need for ft8filbig.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7731 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-19 21:13:49 +00:00
Joe Taylor
5a9fdd1f34 Implement Tx for FT8. Not tested!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7730 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-19 20:38:03 +00:00
Joe Taylor
de3e975b98 1. ft8sim now generates 25 signals: f=300, 400, ... 2700 Hz.
2. ft8d is now a bare-bones multi-decoder.
3. wsjt-x now includes the bare-bones multi-decoder for FT8.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7729 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-19 20:15:43 +00:00
Joe Taylor
09af56b32c Add a bare framework for ft8_decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7728 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-18 12:26:41 +00:00
Joe Taylor
3ba80279ec Start a framework for FT8 decoder.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7727 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-06-17 15:55:30 +00:00