Commit Graph

2665 Commits

Author SHA1 Message Date
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
Bill Somerville
3a0602711c Automate counting of rows in the Modes model
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6725 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 23:40:45 +00:00
Joe Taylor
6eb55cee68 No short messages (yet?) in MSK144 mode. Max message length = 80. Don't
try to remove a noexistent file.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6722 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 18:20:53 +00:00
Joe Taylor
9845494276 Install MSK144 as a new mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6721 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 15:45:54 +00:00
Joe Taylor
a68384689f Revert three jt4 files to svn revision 6701.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6720 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 12:48:16 +00:00
Joe Taylor
2f2fd030e1 Let genmsk144 open the .pchk and .gen files from current working directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6719 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 12:41:39 +00:00
Steven Franke
05a311be59 Cleaned up syncmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6718 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 03:19:08 +00:00
Steven Franke
21bd398053 Add file needed by msk144d.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6717 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 02:46:53 +00:00
Steven Franke
1f37a6676f msk144 simulator is now called msk144sim.f90, command line msk144 decoder is msk144d.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6716 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 23:46:36 +00:00
Joe Taylor
ab8f641bb1 Set minimum SNR in JT4 mode to -26 dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6715 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 12:23:25 +00:00
Steven Franke
311dcdf7b9 Put back the original jtmsk_decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6714 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 11:20:33 +00:00
Steven Franke
968705cb9c Some cleanup to genmsk144.f90 and commented out debug statements for loopback test on OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6713 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 01:58:46 +00:00
Joe Taylor
2e7910fdfa Trivial correction to comment: "MSK144" protocol is s8 + d48 + s8 + d80 = 144 bits long.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6712 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-31 13:31:50 +00:00
Steven Franke
374282920c First working decoder for experimental jtmsk 72ms ldpc-coded messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6711 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-28 20:53:35 +00:00
Steven Franke
d68062f9d6 Progress on jtmsk 72ms messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6710 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-28 17:58:06 +00:00
Steven Franke
4d0bf9027b minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6709 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-27 20:50:30 +00:00
Steven Franke
aa34320736 genmsk144 now generates the tone indices need by Modulator.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6708 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-27 20:46:48 +00:00
Steven Franke
8b5c91f46c Fix CmakeLists.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6707 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-27 01:50:18 +00:00
Steven Franke
7bd8be0107 Added JTMSKsim to CMakeLists.txt to facilitate development efforts.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6706 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-27 00:59:00 +00:00
Bill Somerville
b49999f96d Fix close down semantics and suppress subprocess errors during close down
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6705 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-26 23:40:16 +00:00
Steven Franke
9773afcb0a Routines for 72ms jtmsk messages. Nothing works yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6704 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-26 21:19:09 +00:00
Bill Somerville
2bb851d164 Correct defect in configuration rig invariant enforcement
The port  type (serial, network, usb,  none) was not tracking  the rig
type.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6703 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-25 23:06:04 +00:00
Joe Taylor
fb00a603d5 Further improvements in JT4 decoder. NB: this is an intermediate save, users beware!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6702 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-25 17:35:27 +00:00
Bill Somerville
6990f7e9b1 Ignore connection refused errors on UDP sockets
In Qt 5.6 the optional connection refused error from a UDP socket that
is written  to where no server  is listening is signalled.  This error
only happens when  the o/s can tell  that no one is  listening i.e. on
the local host loopback address. We  can safely ignore these errors as
we do not care if anyone is listening or not.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6701 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-25 15:34:19 +00:00