Commit Graph

1096 Commits

Author SHA1 Message Date
Joe Taylor
0e87c974e9 Modified behavior of audio level meter and adjacent slider; Tx6 at program startup.
1. Level meter range increased to 0-90 dB.
2. Level meter reading is independent of slider setting.
3. For a trial period: thermometer bar goes red if a 16-bit sample
   is within 5 dB A/D limit.
4. Slider can be used to adjust levels sent to waterfall.
5. Tx6 message is selected on program startup.
Thanks to W9MDB for most of this code.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 14:34:25 +00:00
Joe Taylor
7454f2fadd Utility program to parse Phil Gladstone's raw-data file from PSKreporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7589 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-01 17:40:25 +00:00
Joe Taylor
bdf4ffa7ba Change several default parameter values used by jt9 when run from the command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-27 20:47:31 +00:00
Steven Franke
fa45380b51 Bring ldpcsim40.f90 up to date and add coherent averaging option to both ldpcsim144 and ldpcsim40. These routines simulate only the performance of the code and the hash/CRC.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7580 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-26 20:14:51 +00:00
Joe Taylor
9a895361cf Add a utility "allsim" to generate a wave file containing all WSJT-X slow modes as well as an unmodulated carrier and 25 WPM CW signal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7579 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-24 18:20:56 +00:00
Bill Somerville
2131414791 Add reference spectrum to equalization plots and more plotting enhancements
Use  a header  format for  polynomial coefficients  that includes  the
valid  X  range  in  scaled  terms  and  a  count  of  the  number  of
coefficients.

Use double  precision consistently  for polynomial  coefficients. This
includes formatting with sufficient DPs when writing to files.

Many changes to the equalization plots, more to come.

Add  error   handling  for   reading  coefficient,  plot   and  filter
files.  This  includes  being  backward  compatible  for  old  format
refspec.dat files with no header.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-23 16:21:26 +00:00
Steven Franke
0215ed58c1 Fixes to make Ref Spec work.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7577 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-23 02:18:10 +00:00
Steven Franke
d1ad018b1a Do polyfit to fil vector in refspectrum.f90 and write the coeffs to the first line of refspec.dat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7576 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-22 20:43:40 +00:00
Steven Franke
d62dacd7e2 Swap mode symbols for MSK144 so that & is the normal symbol.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 20:57:49 +00:00
Steven Franke
208e7e2d0b Simplify equalization logic - still need to fix & vs ^ display.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7573 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 20:13:36 +00:00
Steven Franke
4525981f73 Require an average over at least 5 decoded frames when measuring phase response.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 17:17:05 +00:00
Bill Somerville
cecc098924 First attempt at a UI phase compensation tool for MSK144
This builds on the static phase compensation in the MSK144 decoder and
the phase  analysis and  polynomial fitting  capabilities also  in teh
MSK144 decoder,  by allowing  captured data to  be selected  for phase
equalization from the WSJT-X UI.

Reads  captured phase  compensation  curve  estimate files  containing
fitted  polynomial coefficients  and measured  phase data  from MSK144
receptions. Intent  is to select a  compensation curve that is  from a
known transmitter like  an SDR which have good  phase linearity. Phase
plots and compensation polynomials may be viewed and compared with the
current compensation polynomial. A  suitable polynomial can be applied
to be use in all further decoding of MSK144 signals.

Plots of  the currently  selected polynomial  and its  modified higher
order terms  polynomial which is  actually used in  equalization (this
plot may  be dropped - it  is just for  kicks at the moment).   When a
captured phase analysis file is loaded plots of the measured phase and
the proposed best fit polynomial are shown.

Basic  maintenance  is also  included  allowing  clearing and  loading
captured  plots and  an option  to revert  to a  flat no  equalization
curve.

More to come on this as  amplitude equalization is also possible, this
will probably  be similar, maybe even  plotted on the same  graph with
dual  axes  for phase  and  amplitude.   Amplitude correction  from  a
measured  reference   spectrum  could  be  viewed   and  selected  for
equalization for all modes. TBC...

This   change    also   introduces    the   QCustomPlot    3rd   party
widget. Currently this  is statically linked from a  qcp library built
by the WSJT-X CMake script. This will probably be migrated to a shared
object (DLL) build as a CMake external project, once some CMake script
re-factoring  has been  completed,  which  is more  in  line with  the
QCustomPlot author's  intentions. This  will allow efficient  reuse in
other tools shipped with WSJT-X.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7570 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 02:13:13 +00:00
Steven Franke
bb2fff65da Update an ldpc-code simulation tool.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7569 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-20 16:45:35 +00:00
Joe Taylor
3c7e20b05b Better scheme for displaying QRA65 sync results.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-10 16:38:19 +00:00
Joe Taylor
f66d142963 Try up to three times to open 'decoded.txt".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-07 14:31:11 +00:00
Bill Somerville
cf97a23379 Temporarily disable the Tx/Rx transient suppressor introduced in r7424
This code was causing the JT9 decoder  to fail to decode, maybe due to
high  noise  levels  and  the resulting  discontinuity  introduced  by
zeroing out samples.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7555 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-27 02:22:54 +00:00
Steven Franke
e45f7eaf67 After measuring phase response, write pcoeff file to the data directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-22 03:20:46 +00:00
Joe Taylor
ffb8046c91 When nagain=1 (double-click on waterfall, or click Decode button), act as if "single decode" is selected.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7531 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-18 14:20:28 +00:00
Joe Taylor
602002b489 Correct a typo in User Guide. Re-order items on Tools menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7507 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-16 13:38:12 +00:00
Steven Franke
2644efc699 More work on Phase Equalization interface.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7506 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 22:13:59 +00:00
Steven Franke
c3d83a207a First steps to enable user control of phase calibration.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 21:43:40 +00:00
Steven Franke
1135c33f33 Remove an obsolete file.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7503 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 20:43:11 +00:00
Steven Franke
f0e7bf8033 Only train on DX Call when Rx Equalization is checked.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7502 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 18:39:18 +00:00
Steven Franke
5fb051e3cb Never apply dynamic phase coeffs. Measure phase response for DX Call and write coeffs, as before. Rx Equalization is still hardwired for K9AN's TS2000.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7501 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-15 18:25:54 +00:00
Steven Franke
1b1aa99a68 Improve accuracy of frequency estimate for non-fading, phase-stable, high-SNR signals.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7484 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-12 03:48:18 +00:00
Joe Taylor
edef3bc39e Use a sin^2 window on FFT in freqcal. Fix the table header for fcal.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7472 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-10 14:51:32 +00:00
Bill Somerville
b43567c38c Deal with the FreqCal edge case of FTol>DF
Reduce the tolerance to +-DF in this case to avoid array bounds error.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7470 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 22:54:47 +00:00
Joe Taylor
6016f03523 Add the "FMT" tools; remove unnecessary references to calibration station callsigns.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7467 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-09 15:55:42 +00:00
Steven Franke
59d1ee3d62 Define and init callsign in freqcal.f90. Perhaps it should be removed altogether.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7461 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-07 17:06:13 +00:00
Steven Franke
da6c0c246e Disallow Sh message decodes with nrxrpt .le. 6.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7460 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 20:53:50 +00:00
Joe Taylor
2698fc02c6 Re Sh and SWL: allow either or neither, but not both.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 19:01:29 +00:00
Joe Taylor
ab8c93dca9 Fix a problem in msk144spd that caused some flaky behavior.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7458 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-06 18:28:26 +00:00
Joe Taylor
9866400c1b Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7453 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 22:45:36 +00:00
Joe Taylor
62f5447520 First usable-at-K1JT version of a semi-automated Frequency Calibration routine.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 20:20:43 +00:00
Joe Taylor
6d64eaa37b More work on FreqCal mode. Some of this code is temporary!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 18:35:26 +00:00
Steven Franke
fcaff0b9d1 Tuning NSHMEM - number of Sh/SWL decodes to remember and test against.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7450 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 03:35:33 +00:00
Steven Franke
c47403642e More progress on SWL mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7449 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-05 02:26:55 +00:00
Joe Taylor
6d3ca346e0 Further progress toward a usable "FreqCal" (Frequency Calibration) mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7448 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-04 19:07:35 +00:00
Steven Franke
838555c08c Tweaks to reject certain types of spurious decodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7447 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-04 01:16:19 +00:00
Steven Franke
47f782dbe3 Improve SWL mode performance.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7445 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-03 20:55:10 +00:00
Steven Franke
8607f261ce Make msk144d2 -e (Eve mode) option work.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7443 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-02 20:13:47 +00:00
Joe Taylor
a65ebafd48 1. We did the experiment: users clearly prefer a "Prompt to log QSO"
only when 73 is sent.  Revert to that well-established behavior.
2. Correct the logic that detects short-form RO, RRR, and 73 messages in
JT65 VHF modes and color-highlights the Tx message box.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7442 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-02 14:22:29 +00:00
Steven Franke
9582ccd5d5 Lower SWL SNR thresholds by one notch. Note that the xsnr that is compared to the threshold is the nonlinear snr from squared signal spectrum, not 'real' snr.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7441 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-02 03:56:29 +00:00
Steven Franke
1c8cca7f85 Only print SWL-mode decodes if SNR is high enough. Needs tuning - thresholds may be set too high.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7440 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-01 22:15:29 +00:00
Steven Franke
cb8f74584d Print <nhash> in SWL mode if decoded hash doesn't match an entry in the hasharray.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7439 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-01 18:50:21 +00:00
Steven Franke
b166ead858 Tweak.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7438 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-01 16:45:47 +00:00
Steven Franke
b8cc894a57 More progress on SWL mode. Needs testing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7437 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-01 16:34:20 +00:00
Steven Franke
b8e7339e88 Bring the command-line MSK144 decoder up-to-date.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7436 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-31 02:57:20 +00:00
Steven Franke
077ac1d77b Progress toward SWL capability. Not finished and not tested.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7434 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-31 02:05:51 +00:00
Steven Franke
2c2d31ea8d Remove some dead code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7432 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-12-30 20:26:59 +00:00