Commit Graph

108 Commits

Author SHA1 Message Date
Bill Somerville
60792182ad
Environment variables to set audio buffer sizes and fix Windows Rx timing
The two environment variables:

    WSJT_RX_AUDIO_BUFFER_FRAMES
    WSJT_TX_AUDIO_BUFFER_FRAMES

each can  be defined to  an integer number which  will be used  as the
suggested audio  buffer size for  Rx and Tx respectively.  Not setting
the variable  or setting  it to  zero or less  will cause  the default
buffer size to be used, which should be a good choice for most, if not
all, systems.
2020-12-07 20:34:56 +00:00
Bill Somerville
50d0543c03
Test version with environment variable to set Tx audio buffer size
WSJT_TX_AUDIO_BUFFER_FRAMES takes the following values:

 -1          - use Qt/system default
 0           - use 200 mS (WSJT-X default)
 +ve integer - value is number of frames at 48 kHz

-1 is  likely to  be a  good choice on  Windows and  may macOS.  0 has
proven to be good on Windows. On Linux  0 may be OK but we need to try
other values.

The value is only a hint, the  actual value used along with the period
size (the  size of each chunk  of samples requested by  the system) is
printed  in an  info level  diagnostic message  at the  start of  each
transmission.
2020-12-03 01:49:21 +00:00
Bill Somerville
3663b3ea32
MultiGeometryWidget template class abstracts window geometry changes 2020-11-27 01:14:12 +00:00
Bill Somerville
9ea903b259
Merge branch 'develop' into feat-boost-log 2020-11-12 13:36:25 +00:00
Bill Somerville
c7f2fdc404
Ensure Tx1 message is used by non-standard callsign holders
The only exception is type 2 prefix/suffix calls in non-77-bit modes.
2020-11-12 13:30:48 +00:00
Bill Somerville
ab780a324a
Testing options
Two new environment variables to control special testing behaviour:

    * WSJT_TX_BOTH - set to "1" to force transmission on both periods.

    * WSJT_REVERSE_DOPPLER - set to "1" to transpose Tx and Rx Doppler
      corrections. Use this to test Doppler tracking on a terrestrial
      link.
2020-11-06 18:28:59 +00:00
Bill Somerville
d8b16b31f4
Merge branch 'develop' into feat-boost-log 2020-10-13 19:20:37 +01:00
Bill Somerville
522000cfab
Added SWL Mode to View menu
SWL mode  hides all lower  panel widgets,  maximizing the size  of the
decodes windows.  Designed for operators running  several instances to
monitor multiple bands and modes.
2020-10-04 23:05:17 +01:00
Bill Somerville
f8e5903f83
Merge branch 'develop' into feat-boost-log 2020-10-04 22:47:01 +01:00
Bill Somerville
add63fb374
Adapt WSPRnet.org spotting to moveable Rx analysis window
This allows spots at any frequency to be posted rather than just those
in the 1400 to 1600 Hz range above the VFO dial frequency.
2020-10-04 22:41:52 +01:00
Bill Somerville
a169b5daf8
Added SWL Mode to View menu
SWL mode  hides all lower  panel widgets,  maximizing the size  of the
decodes windows.  Designed for operators running  several instances to
monitor multiple bands and modes.
2020-10-04 00:46:59 +01:00
Bill Somerville
837821b117
Merge branch 'develop' into feat-boost-log 2020-10-01 19:55:53 +01:00
Bill Somerville
204d63929d
Repair a regression with odd/2nd period FT4 decode timestamps
Generalized slow mode decode timestamp generation to a common routine.
2020-09-29 12:32:47 +01:00
Bill Somerville
e50e712fdd
Start using class NonInheritingProcess 2020-09-24 17:57:06 +01:00
Joe Taylor
9fe2fc6de0 Fix two problems: sometime incorrect setting of RxFreq in WideGraph, and incorrect timestamp for FST4W-120 and FST4W-300 decodes in ALL.TXT. 2020-09-21 14:35:16 -04:00
Joe Taylor
52bdd57e57 Implement NB=-1%, NB=-2%. Fix a startup problem with WideGraps's fMax value. 2020-09-18 11:30:23 -04:00
Joe Taylor
2266e8dbb7 Add FLow and FHigh spinner controls to set the FST4 decoding range. 2020-09-16 17:02:40 -04:00
Joe Taylor
b6f990fac2 Allow FTol values down to 1 Hz; let maximum FTol values for FST4 depend on TRperiod. 2020-09-10 13:33:33 -04:00
Bill Somerville
db6a432a33
Ensure band/frequency combo box edit styling tracks current frequency 2020-09-08 15:24:55 +01:00
Joe Taylor
72cffc9da4 Make the FST4/FST4W Quick-Start Guide available from the Help menu. 2020-09-06 13:31:19 -04:00
Joe Taylor
4ab8780dd8 Code cleanyup associated with removing Tab 2. 2020-09-05 15:22:18 -04:00
Joe Taylor
7aeb9d5e2e Remove the "Tab 2" option for generating Tx messages. 2020-09-05 15:11:32 -04:00
Joe Taylor
c1025b7c4c Allow user to set center frequency and FTol in FST4W mode. Needs more testing! 2020-09-05 10:34:55 -04:00
Bill Somerville
e17ad223ae
Tx Next button enables automatic Tx
Also a  number of WSPR/FST4W  code clean-ups including getting  the Tx
Next button to function as intended.
2020-08-15 02:57:23 +01:00
Bill Somerville
02e19b687f
Status message to report approximate # of dropped Rx audio frames
This is  a first cut  at this to  evaluate buffer size  adjustments on
supported platforms. A final version might limit status bar reports to
>1000 dropped frames or similar.
2020-08-08 17:12:48 +01:00
Bill Somerville
a0ceace5b4
User configurable audio device buffer sizes
Adjusting these may help with  audio drop-outs, particularly on slower
CPU systems or heavily loaded systems. Smaller buffer sizes leave less
margin for  process interruptions,  larger sizes waste  resources that
could impact other processes.
2020-08-08 16:25:14 +01:00
Bill Somerville
c5248bf116
Merge branch 'develop' into feat-fst280 2020-07-27 13:25:28 +01:00
Bill Somerville
5382ef4a33
Merge branch 'develop' into feat-wspr-user-hardware 2020-07-26 18:03:23 +01:00
Bill Somerville
7bb5a8e009
Merge branch 'develop' into feat-psk-reporter-re-work 2020-07-26 15:52:39 +01:00
Bill Somerville
9c22eb321d
Merge branch 'develop' into feat-fst280 2020-07-26 16:20:11 +01:00
Bill Somerville
7566f3548d
Post FST4W spots to WSPRNet.org
Includes a re-factoring  of the WSPRNet class,  particularly to handle
direct spot posts as well as via  a file from wsprd. Switched from GET
http request method to POST method.

FST4W spots  post the same information  a WSPR spots except  the drift
field is  always zero (FST4W  has no  drift compensation, so  no drift
figure is calculated by the decoder),  and the mode field reflects the
T/R  period in  minutes.  This  means  FST4W-120A will  be similar  to
WSPR-2, an FST4W-900  will be similar to WSPR-15. I  don't see any way
to  view the  mode field  on  either the  new or  old database  format
queries on WSPRnet,  so it is hard  to tell if that  field is actually
stored.
2020-07-26 02:58:04 +01:00
Bill Somerville
580dd85a18
Remainder of renames to FST4 2020-07-23 18:51:05 +01:00
Joe Taylor
05a1b3bae8 Remove "Also FST240W" from the Decode menu and elswhere in the GUI. 2020-07-21 14:18:55 -04:00
Bill Somerville
06b9746619
Make fSpread printing compatible with QSOs 2020-07-20 18:27:29 +01:00
Joe Taylor
159b8a97f7 Better handling of fSpread in mainwindow.cpp. Makes auto-seq work when plotspec is used. 2020-07-19 13:20:41 -04:00
Bill Somerville
7118f1ad14
Correct T/R period options for older modes, and correct start times
Fix up decode window headings.
2020-07-12 01:38:36 +01:00
Bill Somerville
f77b6bf71a
Only show FST240W T/R period spin box in FST240W mode 2020-07-08 19:37:31 +01:00
Joe Taylor
d4bf73df84 Minor cleanup of RoundRobin control. 2020-07-03 14:17:13 -04:00
Joe Taylor
0608521751 Remove unused references to WSPR_LF. 2020-07-01 15:12:14 -04:00
Joe Taylor
f2c3cbf9ac Implement basic functiionality of FST240W in the GUI. 2020-07-01 12:01:47 -04:00
Joe Taylor
ae54c80a54 Here's a start on GUI changes to support FST240W as well as FST240. 2020-06-30 17:14:58 -04:00
Joe Taylor
ae6ca148bd Pass mode name to the Modulator. 2020-06-29 14:47:46 -04:00
Bill Somerville
d5c5a58c7f
Merge branch 'develop' into feat-fst280 2020-06-27 22:14:09 +01:00
Steven Franke
390884268c Wholesale change from FST280 to FST240 2020-06-27 08:53:11 -05:00
Bill Somerville
4ee9ba6dba
Merge branch 'develop' into feat-wspr-user-hardware 2020-06-27 00:40:04 +01:00
phl0
6cbc91b653
Include prop mode in ADIF and UDP messages 2020-06-26 23:45:58 +01:00
Bill Somerville
27b4f2939a
More flexible execution of the user's hardware controller
Updated ways to implement a  user defined hardware controller which is
executed just after band changes during WSPR band hopping operation.

Allows the user_hardware executable to  be located in any directory on
the PATH environment variable. On Windows any file extension listed on
the PATHEXT  environment variable may  be used, the first  match using
PATH and  PATHEXT will  be executed.  On Windows  this is  achieved by
using CMD.EXE with a '/C' command  line flag, i.e. the user's hardware
controller is executed like this:

CMD.EXE /C user_hardware nn

where 'nn' is the new band as an integer in meters.

On non-Windows  systems the  user's executable  will be  run if  it is
found on the  directories specified by the  PATH environment variable,
and it is executable, i.e. it is equivalent to something like:

/bin/sh -c user_hardware nn

where 'nn' is the new band as an integer in meters.

In  all cases  the user_hardware  controller should  exit with  a zero
status, otherwise it have been deemed to have failed. On Windows avoid
an exit status of  one as that is utilized by  CMD.EXE to indicate the
file was not found, which WSJT-X ignores silently.

This change means the prior need to put the user's hardware controller
into   a  WSJT-X   installation  directory   like  /usr/local/bin   or
C:\WSJT\wsjtx\bin is no longer necessary.
2020-06-26 21:35:29 +01:00
Joe Taylor
9caf3b650c Correct a number of parameters that control FST280 signal duration and timing. 2020-06-25 17:18:48 -04:00
Joe Taylor
04e326e75a Change "Enable VHF/UHF/Microwave features" to "Enable VHF and submode features", and remove the popup warning about being on a lower band. 2020-06-22 15:20:41 -04:00
Bill Somerville
af894c6039
Rename files to match class name
Avoiding case insensitive file system issues.
2020-06-21 02:15:31 +01:00