Commit Graph

2311 Commits

Author SHA1 Message Date
Bill Somerville
4de778c4e7 Reverting r6531 and replacing with correct fix
The WSPR  message is unpacked  into a symbol  per byte array  which is
processed  by  encoding a  whole  number  of  bytes of  message,  this
requires the output  array to be bigger than the  number of symbols to
accommodate  extra values  that are  not part  of the  message due  to
rounding up to whole bytes. I.e.  176 (11*8*2) elements to contain the
162 symbols.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6532 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-15 11:46:26 +00:00
Bill Somerville
e81f018ed5 Fix buffer overrun in WSPR encode
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6531 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-15 11:17:11 +00:00
Joe Taylor
470547537d Simple driver for end-to-end JT65 simulations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6530 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-14 21:48:58 +00:00
Steven Franke
4a4af7b24f Remove more old stuff.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6529 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-13 05:48:07 +00:00
Steven Franke
31bcf0a783 Remove some cruft.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6528 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-13 04:22:31 +00:00
Steven Franke
733630d7f3 Add updated frame-error-rate script for jt65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6527 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-12 15:02:35 +00:00
Joe Taylor
9e38f0ed9e A few more tweaks to Avg/Smo decoding in JT65. This stuff should
probably be refactored!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6525 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-11 17:03:41 +00:00
Joe Taylor
a35e411409 Further progress on average and smoothed decodes. Not finished, though!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6524 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-11 16:26:06 +00:00
Bill Somerville
e02dc28ce2 Fix compiler error on 64-bit systems
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6523 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 21:54:33 +00:00
Joe Taylor
1c948c1566 Further progress toward correct message averaging and hinted decoding
in JT65 mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6522 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 20:29:00 +00:00
Bill Somerville
ab52a7f0ea Tidy up WAV file reading and fix WAV input rate conversion defect
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6521 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 19:48:54 +00:00
Joe Taylor
ffcfe97f34 Correct a flaw introduced with changing common/test00?/ to jt65_mod.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6520 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 19:39:24 +00:00
Joe Taylor
80873a6040 Implement "Single decode" logic; write to "avemsg.txt" in jt65_decode;
list the correct UTC in decoded text line when using the "Decode" button.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6519 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 18:35:41 +00:00
Joe Taylor
697886465d Fix a bug in read_wav_file() that made it process and return too few
data points when files with sample rate 11025 Hz are read.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6518 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 16:36:31 +00:00
Joe Taylor
f670af39e5 Remove diagnostic print.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6517 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 15:18:55 +00:00
Joe Taylor
dfb8dc7422 Add a "Single decode" checkbox.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6516 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 15:13:06 +00:00
Joe Taylor
04e765c605 Replace all "common/test00?" with "use jt65_mod", etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-10 14:25:22 +00:00
Bill Somerville
8b2a665138 Update argument list for JT65 callback in command line jt65
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6514 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-09 22:39:13 +00:00
Joe Taylor
1288e64137 Further progress on JT65 decoding with averaging and variable smoothing.
Please note: it's far from finished!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6513 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-09 21:01:28 +00:00
Bill Somerville
7d477606f0 Add a shift+click waterfall option to set Tx DF
Thanks to Mike W9MDB for contributing this patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6512 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-09 15:47:26 +00:00
Joe Taylor
4c31292b5a First (very basic!) functionality for message averaging in JT65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6511 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-08 21:04:05 +00:00
Joe Taylor
ef79ab0f49 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6510 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-08 18:36:42 +00:00
Joe Taylor
3cd53fb073 Should have committed this code, yesterday.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6509 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-08 15:45:15 +00:00
Joe Taylor
f0fdc8822b Working toward best hinted decoding for submodes JT65B and C.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6508 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-07 20:54:12 +00:00
Joe Taylor
eb076718f2 First working code that uses wider detection bandwidths for submodes JT65B,C.
Still needs work!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6507 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-07 20:00:23 +00:00
Joe Taylor
e7f3a10fa2 Oops! Accidentally removed a required definition of "df".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6505 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-02 20:14:17 +00:00
Joe Taylor
e762cba31e In submode JT65C, downsample the data twice: once so that sync tone
goes to f=0, once so it goes to -355.297 Hz.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-03-02 19:44:09 +00:00
Steven Franke
ce24320476 Add mode (A,B,C) command-line option.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6503 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-28 18:08:02 +00:00
Joe Taylor
a0318d3a0a Calibration of the "Degrade S/N of .wav file" requires knowledge of receiver bandwidth.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6491 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-23 19:37:38 +00:00
Bill Somerville
1ec6d07e8f Fix regression when reading WAV files
Decoder needs the number of samples not the number of bytes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6489 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-23 18:28:37 +00:00
Joe Taylor
aab846154f More code cleanup of test program mskber.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6487 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-23 15:48:03 +00:00
Joe Taylor
ab544e3039 Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6479 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-22 18:57:17 +00:00
Joe Taylor
b88affa2ee Test program to simulate MSK modulation and coherent reception.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6478 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-22 18:32:39 +00:00
Bill Somerville
2994a924e5 Attempt to recover from network failures
QNetworkAccessManager which is  used for all network  traffic does not
automatically  recover  from  network  outages. This  patch  tries  to
reestablish network accessibility before any requests are attempted.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-20 12:55:18 +00:00
Joe Taylor
ad50294454 Update jtmsk for change in the way narg(12) and narg(13) are compared.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6467 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-04 19:40:47 +00:00
Joe Taylor
764e2f95d5 Fix up message generation when short messages are used and decoded.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6466 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-04 17:30:04 +00:00
Joe Taylor
cca53ff18a Remove diagnostic prints.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6465 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-04 16:12:25 +00:00
Joe Taylor
1ee6659101 Further improvements to decoder for short JTMSK messages.
In mainwindow.cpp, return after executing call to fastSink().  ###???###


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-04 16:10:55 +00:00
Joe Taylor
95a3c00eda Pass naggressive to fast_decode(). Display <...> messages only if naggressive>0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6463 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-03 20:23:52 +00:00
Joe Taylor
be26c48f91 More progress on decoder for short JTMSK messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6462 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-03 19:47:42 +00:00
Joe Taylor
5fc5597652 Improvements to decoder for short JTMSK messages. Still needs work!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6461 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-02 19:49:17 +00:00
Bill Somerville
dc69144396 Better debug messages for WSPR spotting issues
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6460 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-02 18:28:12 +00:00
Bill Somerville
9e55d08eb6 Reset eliding of duplicate UDP messages if a Replay message is received
UDP message servers will not receive  a Status until some status field
changes if  they join a network  with existing clients. To  avoid this
receipt  of a  Replay message,  which should  be the  first message  a
server sends  after negotiating the  schema, now cuases  the duplicate
message check  to be  disabled for  the next  message. This  should be
sufficient for servers to get into sync.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6459 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-02 01:48:08 +00:00
Joe Taylor
95259fddfe Actually, those calls to packbits() should send the value "69" as 2nd argument.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6458 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-01 16:15:34 +00:00
Joe Taylor
c32ece12fa Correct a typo and bug (reported by K9AN) in syncmsk.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6457 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-01 15:58:39 +00:00
Bill Somerville
020803e901 Fix an array size parameter error in gen9.f90
Also use assumed shaped for dummy argument arrays where possible.

If a  Fortran procedure has  an interface declaration,  which includes
all procedures exported  from modules, then dummy  arguments should be
declared as assumed shape if possible.  This allows compiler generated
array bounds checking and compile time array shape checking.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6456 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-01 13:41:11 +00:00
Steven Franke
35fd23c392 Some more work on code comparisons.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6454 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-02-01 03:01:04 +00:00
Steven Franke
541168cb15 Further work on code comparisons.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-01-31 16:11:50 +00:00
Steven Franke
5d6a502a87 Generate fer vs Eb/N0 for rate 1/2 K=13 convolutional code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-01-31 01:47:30 +00:00
Bill Somerville
ef8c2ad0bb Clarify UDP network message schema negotiation prior to schema 3
Before schema  3 the Heartbeat(0)  message did not contain  a "Maximum
schema  number" field,  this field  being absent  implies that  schema
number 2 is the highest usable (schema 1 is broken and not used in the
field).

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6450 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-01-31 00:07:42 +00:00