2599 Commits

Author SHA1 Message Date
Bill Somerville
29e6e1ccd9 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
533cd0877d 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
9c8e5c5174 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
0de6a3b23c 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
4d1c23ef4f 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
950466a877 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
792f032011 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
db6b3b8ada 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
9aa7146f58 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
7fa25b7cf1 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
fe473c0bda 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
0fb2dea4ef 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
30959cf1c9 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
c5c3d14689 Fix some defects in the LDPC mod2 matrix free routines
Add  a function  to free  heap allocations  made reading  in the  LDPC
parity check and generator matrices.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6763 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:49 +00:00
Bill Somerville
c58876507b 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
800357a0a3 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
fdd480789a 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
41434e03b3 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
32235081d8 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
bc82fcb35a 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
553f426126 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
032ac900c4 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
a91448648e 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
d48f68dd6b 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
07a98d1fdd 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
fe809ad053 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
abd6e8cb9b 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
f9699cdf44 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
6a5086377d 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
48a6cdc578 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
9123fb4979 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
e0d4924267 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
8ae892fe7a 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
1292b6c6aa 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
c4104ad713 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
1103601ea7 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
3cefe5edbb 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
5a50178bd3 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
5935bdc0dc 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
30cb728d5b 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
1dfd50a096 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
a5a8624969 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
93e4c7a706 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
a8856c382b 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
4de2301af8 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
4bd5916c14 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
0e7f8abf09 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
c08816c9c0 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
fbf9d6ac80 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
23e16b7e11 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