Commit Graph

2538 Commits

Author SHA1 Message Date
Bill Somerville
e7854d6c5b Do not apply reference spectrum in fast modes
Using the reference spectrum discards a short part of the front of the
period's received samples which may have contained a decode candidate.

As  far  as  the  MSK  modes  are  concerned  the  reference  spectrum
correction is probably not applicable anyway.

Comment from Steve K9AN after offline discussions about this:

"In any  case, I  don’t think that  there is any  reason to  apply the
reference spectrum correction to the MSK modes. I do think that we are
paying a  performance penalty  in the MSK  modes for  non-ideal filter
responses at  the TX and RX  ends of the link  — but we would  need to
implement an  equalizer that  looks at  the received  sync words  as a
“training  sequence” in  order to  come  up with  anything that  could
improve the  results. This  would take into  account the  receiver and
transmitter  filters,  and  would  probably  be  different  for  every
TX/RX/meteor burst. My current thinking is  that for the low SNRs that
we are most interested in, and with  the short sync words that we use,
we  wouldn’t  be  able  to  do  a very  good  job  of  estimating  the
coefficients of the equalizer..."

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6776 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-13 19:52:23 +00:00
Steven Franke
cb65abbb56 Turn off soft-symbol dithering to move RNG out of the picture.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6775 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 21:27:26 +00:00
Steven Franke
0fa2ed81bb Add Bill's fixes plus change to line 139.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6774 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 20:49:02 +00:00
Steven Franke
fea1f88dce Remove obsolete msk144 routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6773 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 15:56:41 +00:00
Steven Franke
45c36a5738 Minor tweaks to detectmsk144.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6772 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 15:02:50 +00:00
Steven Franke
9d75e1d9d1 Guard against array overrun.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6771 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 02:55:43 +00:00
Steven Franke
dbe32f87a2 add detectmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6770 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 02:45:33 +00:00
Steven Franke
00ad072b7f calls detectmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6769 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 02:43:49 +00:00
Steven Franke
d45dc65a87 new combined detector/demodulator/decoder routine for msk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6768 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-12 02:42:51 +00:00
Bill Somerville
f585500505 Improved valgrind MemCheck suppressions for Linux
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6767 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 23:53:24 +00:00
Bill Somerville
ba4cfb2311 Another uninitialized variable picked up by valgrind MemCheck
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6766 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 23:53:18 +00:00
Bill Somerville
bac8da7859 Add the save attribute to variables that are lazily initialized and reused across calls
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:51:04 +00:00
Bill Somerville
282459b665 Clean up some memory leaks
Move the  FFTW3 cleanup  into the  main routine as  it should  only be
called  once rather  than  every time  the  settings configuration  is
changed or reset (MultiSettings).

Call the new fini_ldpc_ routine before  exiting in the main routine to
free the LDPC resources.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:57 +00:00
Bill Somerville
c2a73723e0 Fix some initialization order issues introduced in r6755
These include the wide graph window not being suppressed when starting
the application in a fast mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6762 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:41 +00:00
Bill Somerville
829dc3ec57 Make sure tune power tool tip only shows when adjusting the tune power using the UI
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6761 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:34 +00:00
Bill Somerville
f962faaeea Tidy up settings tab widget names
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6760 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:27 +00:00
Bill Somerville
e93673e975 Remove non-portable UI geometry values from MainWindow
Qt does its best job  laying out widgets consistently across platforms
if all unecessary constraints are  removed. Widget layout policies can
almost always be used to achieve the required layout without reverting
to hard coded pixel values.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6759 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 14:27:17 +00:00
Steven Franke
b91a9a782b Tweaks to syncmsk144 - improve performance for short pings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6758 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 02:39:21 +00:00
Bill Somerville
c7344e0441 Another, hopefully final, fix for saving decocded WAV files reliably
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6757 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 22:59:41 +00:00
Bill Somerville
b9b25189b7 Build of wsjtx needs FFTW3 includes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6756 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 16:01:07 +00:00
Bill Somerville
8e43af11e5 Fix numerous memory leaks and uses of uninitialized variables
These were discovered when running under teh valgrind MemCheck tool. I
have also  checked in a suppressions  file (wsjtx-valgrind.linux.supp)
suitable for use on Linux when running the valgrind MemCheck tool.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6755 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 15:54:16 +00:00
Joe Taylor
ad54035a53 Clean up some further compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6754 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 14:18:10 +00:00
Bill Somerville
66c390de79 More consistent highlighting and processing of general call messages
Highlight,  in the  CQ  colour, CQDX  ... and  QRZ  ...  messages  and
process correctly for worked before and DXCC entity.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6753 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:48 +00:00
Bill Somerville
7be033e8c2 Report WAV file reading and writing errors
Refactor the  save WAV  file routine  to return an  error string  as a
promise and then get that result and report in a QMessageBox.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6752 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:41 +00:00
Bill Somerville
4a33a696ba Enhanced error reporting for BWF (WAV) files
The BWFFile class  correctly indicates errors like  file access issues
and problems reading or writing headers using the BWFFile::error() and
BWFFile::errorString() operations.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6751 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:33 +00:00
Bill Somerville
5e7b750ac3 Initialize decode counts before decoding
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6750 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:19 +00:00
Steven Franke
80ff880341 Catch up msk144d.f90 and msk144sim.f90 to latest changes. Turn off debug write to lun78 - now builds and runs msk144 on OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6749 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 22:09:06 +00:00
Joe Taylor
22340f66e4 Suppress some compiler warnings. (More to come...)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6748 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 19:39:48 +00:00
Joe Taylor
df518f4e1d Make it possible to find MSK144 code-definition files in the "data_dir" on all platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6747 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 15:06:15 +00:00
Steven Franke
26b20882ba Add msk144dt.f90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6746 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 10:30:52 +00:00
Steven Franke
ada15d4f3c Put nsnr back where it was.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6745 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:23:21 +00:00
Steven Franke
7e2f238ab2 Add msk144dt.f90 to CMakeLists.txt
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6744 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:08:14 +00:00
Steven Franke
0679069878 Added msk144dt; tweaks to syncmsk144l
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:02:50 +00:00
Joe Taylor
4425a5aad9 Remove diagnostic print.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6742 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 21:25:11 +00:00
Joe Taylor
143736129b Starting to implement the hooks for interfacing to QRA mode.
Pass file path for peg-128 files to fast_decode().  (Inelegant, but it works.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6741 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 21:20:58 +00:00
Joe Taylor
ecd36a33b5 Starting what's needed to pass data_dir to fast_decode(). I need help!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6740 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 19:49:50 +00:00
Joe Taylor
dae04d7a39 For now (and maybe longer?), install the LDPC code-definition files in the .../bin/data directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-07 14:54:53 +00:00
Steven Franke
478f6270ee More work on msk144 decoder.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6738 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-07 01:30:00 +00:00
Steven Franke
b84a07349c fixed an array overrun
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6737 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-06 02:48:06 +00:00
Steven Franke
51428985b3 cleanup and improvement of syncmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6736 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-06 01:53:04 +00:00
Steven Franke
6e54009797 Average over 3 frames on the second pass.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6735 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 23:11:51 +00:00
Bill Somerville
7501185723 Make tune run for longer in fast modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6734 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 20:34:11 +00:00
Bill Somerville
a6be978915 Ensure that tune specific Tx gain setting is not restored after it is cleared
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6733 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 19:24:56 +00:00
Steven Franke
ee40202a1c fix up file names written by msk144sim
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6732 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 17:58:04 +00:00
Steven Franke
6c50362ccc Tweak coarse frequency acquisition.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6731 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 17:21:19 +00:00
Steven Franke
31d393cd45 Found and fixed a nasty array overrun problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6730 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 16:40:45 +00:00
Steven Franke
f7572dcc4e Fix utc issue in msk144d and other small changes related to msk144.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6729 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 16:02:26 +00:00
Joe Taylor
eec8ef436a Change the selective "save" statement in syncmsk144.f90 to a global
save, to avoid what appears to be a stack overflow on Windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6728 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 14:03:20 +00:00
Steven Franke
a87f7270b0 Improvements to msk144d.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6727 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 01:19:54 +00:00
Bill Somerville
98e2829d41 Polish the Modes class and make it more robust
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6726 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-04 14:59:01 +00:00