Commit Graph

3260 Commits

Author SHA1 Message Date
Joe Taylor
9ebd755c37 Save fsk4sim.f90 with 3 @ 4x4 sync arrays.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-30 19:24:20 +00:00
Bill Somerville
1298b13957 Work around for an error compiling boost/crc.hpp with GCC v6
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-29 23:35:13 +00:00
Bill Somerville
0e214efb9c Rework install locations for better flexibility
Using the  CMake module  GNUInstallDirs to  set up  standard locations
which allows  better customisation for packagers  building for various
distributions.

The change does change some internal package file paths and will leave
some  files  in  old   locations  in  Windows  installations.  Running
uninstall  is probably  wise  on Windows  before  installing this  new
package layout if future clean uninstalls are desired.

Linux and other  *nix package maintainers can use  the CMake variables
CMAKE_INSTALL_xxx to vary the install paths of various components. See
the  CMake GNUInstallDirs  module documentation  for more  details. An
example might be for Slackware where package documents are expected to
be                            installed                           into
<install-prefix>/doc/<package-name>-<package-version>/ whereas the GNU
default         is         to        install         them         into
<install-prefix>/share/doc/<package-name>/.  To achieve  this set  the
CMake variable CMAKE_INSTALL_DOCDIR as follows when configuring:

cmake -D CMAKE_INSTALL_DOCDIR:PATH=doc/wsjtx-1.7.1 -D CMAKE_INSTALL_PREFIX= ...

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 13:03:48 +00:00
Steven Franke
38ab140ab6 Thanks Bill.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7622 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 12:16:34 +00:00
Steven Franke
4565b182ff Add some experimental routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7621 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 12:05:49 +00:00
Joe Taylor
4f2d3d08d0 Add routines for testing a possible 4-FSK mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-27 19:59:48 +00:00
Bill Somerville
e8b812fd08 Teach the CMake build script how to find the Boost libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7619 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-22 20:44:42 +00:00
Bill Somerville
c95bb069e0 Add crc library to the WSJT-X Boost libaries
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-22 20:30:34 +00:00
Bill Somerville
c91b4a1266 Less confusing audio format diagnostics
Show device preferred and actually selected formats for both input and
output.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7615 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 15:50:01 +00:00
Bill Somerville
72c8eccf96 Fix endian issue with some Mac OS X sound devices
Audio loop back devices on Mac OS X Intel strangely have a big
endian sample format, perhaps a hang over from PowerPC days. This
change ensures that samples are converted to the machine endianness
before processing.

Also re-enabled is the input audio format validation which now seems
to work.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7614 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 13:34:01 +00:00
Bill Somerville
39cf3e1b9a Change build scripts to be compatible with Qt 5.8 on Mac OS X
This change obseletes Mac OS X 10.7 and 10.8 which are not supported
by Qt 5.8.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7613 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 13:33:55 +00:00
Joe Taylor
0673974954 Allow measuring refspec in fast modes. Better display format for phase coeffs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7612 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-20 19:35:17 +00:00
Bill Somerville
c06cc71fba Minor tidy up of Configuration UI layouts
Remove  redundant layout  on Audio  tab  and used  layout managers  on
Colors tab.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7611 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-20 17:17:50 +00:00
Steven Franke
827d7173fe Fix an error in SNR_2500 scaling and add calculation of probability of decode vs number of hard errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7610 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-17 18:47:57 +00:00
Joe Taylor
be1e3c74ad Try filled circles instead of line for the measured phase plot.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-16 15:33:42 +00:00
Bill Somerville
8686876498 Do not use menu shortcut that hides shortcut key used in widgets
Ctrl+M (Cmd+M)  was being  used as  a menu shortcut  and in  key press
event  handlers   which  leads  to  inconsistent   behaviour  on  some
platforms. Removed menu action shortcut.

Also tidied up handling of the  hide controls menu action by making it
a checkable  action and using its  checked state to store  the control
hiding state.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7608 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 18:25:21 +00:00
Bill Somerville
a35283f45c Update the Mac OS X Info.plist to support high DPI displays
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7607 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 18:25:14 +00:00
Joe Taylor
4a29dd4880 Display Rx level to nearest integer dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 15:33:25 +00:00
Bill Somerville
912e6149d1 Remove unnecessary geometry properties from main & configuration wondows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7605 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:27 +00:00
Bill Somerville
abe4ad6a0d Improve wide graph control hiding and layouts
Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7604 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:20 +00:00
Bill Somerville
f65242cd74 Add control hiding (CTRL+M) to fast graph to minimize screen usage
Also cleans up a few layout issues.

Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7603 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:13 +00:00
Bill Somerville
dfecb4ed1f Fix defect in handling of configuration names containing ampersand characters
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7602 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:05 +00:00
Steven Franke
2636c849bf Reset navg after measuring phase response.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7601 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-12 13:02:10 +00:00
Joe Taylor
be0500dda6 Minor tweak to User Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7600 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-09 21:56:25 +00:00
Joe Taylor
5babb1c942 Try new colors for level meter: darker green for normal, dark orange for too low.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7599 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 22:21:07 +00:00
Joe Taylor
ea396ef07f Add a brief description of Rx gain slider adjacent to audio level meter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 19:43:33 +00:00
Joe Taylor
5ff7b9ac79 Code cleanup following level meter changes. New screen shot for main-left controls.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 15:52:09 +00:00
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
220f03c7be When operating in JT9+JT65 mode, changing band to 60 m has moved the
"JT65 nnnn JT9" blue line to 0 Hz.  Now it also moves the spinner to
0 Hz, as it should have done.  Subsequent QSY to another band will reset
the blue line and spinner to where they had been, before the QSY to 60 m.
Thanks to W9MDB for this patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7595 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-03 15:11:32 +00:00
Joe Taylor
dfe8353c1d Fix typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7594 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-03 13:54:31 +00:00
Bill Somerville
ecaa982b9f Merged latest version of the boost 1.63.0 vendor drop
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7593 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-02 02:45:29 +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
Bill Somerville
ab3f3f43e4 GNU gcc/g++ v6.x and Qt v5.8.x compatibility
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7588 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-28 19:13:49 +00:00
Bill Somerville
7616ed2665 Update boost from vendor drop
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-28 03:32:43 +00:00
Bill Somerville
124f5863ac bringing boost_1_63_0 into the wsjtx branch
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7584 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-28 00:58:28 +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
Bill Somerville
5d9ac3966b Generalize the equalization plotting code and add group delay plot
Moving towards some useful generic plotting templates.

Phase plots are now fixed to +/- Pi range and the phase axis is now in
units of Pi.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7575 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-22 02:20:11 +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
9712447253 Fix a clang++ gripe
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7571 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-21 02:50:10 +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
Bill Somerville
25e9fe245d Fix misuse of auto in assignment
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7568 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 14:03:46 +00:00
Bill Somerville
b4ea0194f1 Support for a startup configuration
The --config <configuration> (-c for short) command line option can be
used  to  select  an  existing  configuration  at  start  up.  If  the
configuration does not exist the last configuration used is selected.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7567 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-02-17 12:32:47 +00:00