Commit Graph

648 Commits

Author SHA1 Message Date
Bill Somerville
536e6568a6
FST4* messages do not need padding out to 37 characters 2020-08-16 02:34:18 +01:00
Bill Somerville
50da40413f
PSK Reporter connection opened & closed at the correct times 2020-08-16 00:38:19 +01:00
Bill Somerville
491a7b9a05
Ensure no connect with, or traffic to, PSK Reporter if not enabled 2020-08-15 23:32:10 +01:00
Bill Somerville
b984390711
Fix PSK Reporter spots of FST4W decodes with power <10 dBm 2020-08-15 23:29:53 +01:00
Bill Somerville
632e2c2ae9
Merge branch 'develop' into feat-dropped-frames 2020-08-15 20:03:47 +01:00
Joe Taylor
dad9199f24 Disable double-clicking on an FST4W decode. It serves no useful purpose. 2020-08-15 14:31:18 -04:00
Bill Somerville
ec623deb9f
More consistent Tx Next button behaviour 2020-08-15 15:57:29 +01: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
7eb229ecde
Reduce Tx audio buffer size improve Pwr control granularity 2020-08-13 10:31:23 +01:00
Bill Somerville
11abe7c60f
Cosmetic reformating 2020-08-13 10:30:49 +01:00
Bill Somerville
185f570136
Avoid accessing shared memory after it has been deleted 2020-08-11 20:07:00 +01:00
Bill Somerville
e27b09b590
Revert Tx status widget on status bar to non-permanent placement 2020-08-11 16:09:51 +01:00
Bill Somerville
8e37dbd8c1
Increased threshold for status message and warning on dropped frames 2020-08-11 16:08:21 +01:00
Bill Somerville
0cf14dfcc9
Remove user adjustable audio buffer sizes from Settings
Fixed buffer sizes are  used. Rx use s 3456 x 1st  downsample rate x 5
audio  frames  of  buffer  space.  On Windows  this  means  that  each
chunk (periodSize())  delivered from the  audio stream is  our initial
DSP processing chunk size, thus  matching audio buffer latency exactly
with WSJT-X's  own front  end latency. This  should result  in optimal
resilience to high system loads that might starve the soundcard ADC of
buffers to fill and case dropped audio frames.

For Tx  a buffer sufficient for  1 s of  audio is used at  present, on
Windows  the period  size will  be  set to  1/40 of  that which  gives
reasonably low latency  and plenty of resilience to  high system loads
that might  starve the soundcard DAC  of audio frames to  render. Note
that a 1 s  buffer will make the "Pwr" slider slow  to respond, we may
have to reduce the Tx audio buffer size if this is seen as a problem.
2020-08-11 13:48:01 +01:00
Bill Somerville
1892f39df3
Revert "TEMPORARY: Diagnostic routine for the "Save All" missing files problem."
This reverts commit b5765401dc.
2020-08-10 01:42:26 +01:00
Joe Taylor
b5765401dc
TEMPORARY: Diagnostic routine for the "Save All" missing files problem. 2020-08-09 22:50:17 +01:00
Bill Somerville
ecf0a146f1
Merge branch 'develop' into feat-dropped-frames 2020-08-08 21:26:51 +01:00
Bill Somerville
94d66bc848
Make FST4W scheduling l10n agnostic 2020-08-08 21:25:32 +01:00
Bill Somerville
2e413713a3
Tidy dropped frame status bar message 2020-08-08 19:40:42 +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
f975f2c181
Further widget contrast improvements for use with dark stylesheets 2020-08-08 15:06:31 +01:00
Bill Somerville
bf58cd43aa
Improve contrast of coloured widgets in dark style 2020-08-08 13:20:52 +01:00
Bill Somerville
0ba5d7e1bf
More flexibility for QDateTime round/truncate routine 2020-08-07 21:31:48 +01:00
Bill Somerville
09dc647c12
Make tool-tips more generic on T/R period 2020-08-04 11:49:33 +01:00
Bill Somerville
d2525c73a3
Minor cosmetic main layout changes 2020-08-04 11:44:26 +01:00
Bill Somerville
fb8b938ac7
Make FST4 std message generation consistent with other 77-bit modes 2020-08-04 11:43:19 +01:00
Bill Somerville
92cf7b29c2
Merge branch 'develop' into feat-fst280 2020-07-31 15:00:50 +01:00
Bill Somerville
b05bfecb5f
Avoid arithmetic errors when parsing the round-robin current text 2020-07-31 12:39:08 +01:00
Bill Somerville
c2b835c42b
Translatable help windows 2020-07-29 18:44:34 +01:00
Joe Taylor
846b0b6ed8 Fix the problem "Tx did not start in the first Round-Robin sequence when it should have started". 2020-07-29 11:58:28 -04:00
Bill Somerville
0f3fc3d15c
Correct time on beacon mode Tx prints in decodes window 2020-07-27 19:51:56 +01:00
Bill Somerville
6cb72a5f3e
Remove duplicate ALL.TXT Tx report in beacon modes 2020-07-27 19:49:39 +01:00
Bill Somerville
3bf070938b
Enable Tx percentage spin box in WSPR and random FST4W modes 2020-07-27 19:48:13 +01:00
Bill Somerville
2bf8888725
Merge branch 'develop' into feat-fst280 2020-07-27 15:02:44 +01:00
Bill Somerville
080e21f6fc
Remove testing code 2020-07-27 15:01:09 +01:00
Joe Taylor
e96dee4c23 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-27 09:57:02 -04:00
Joe Taylor
236e334e71 *** TEMPORARY *** Allow transmitting FST4-15A and FST4-15B simultaneously. 2020-07-27 09:55:49 -04:00
Bill Somerville
c5248bf116
Merge branch 'develop' into feat-fst280 2020-07-27 13:25:28 +01:00
Bill Somerville
bb927a6115
Handle missing user_hardware on non-Windows systems 2020-07-27 13:13:04 +01:00
Bill Somerville
a2ad0be85b
Use shell to execute user_hardware via PATH 2020-07-27 12:19:47 +01:00
Bill Somerville
b4bbc44d5b
Invoke user_hardware correctly 2020-07-27 00:51:12 +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
2f700265b9
Merge branch 'develop' into feat-fst280 2020-07-26 10:20:55 +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
63b1b0729a
Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-26 02:54:04 +01:00
Joe Taylor
ceeafa5bed *** TEMPORARY *** Add a feature to transmit FT8 and FST4 at the same time. 2020-07-25 16:02:42 -04:00
Bill Somerville
4015c5e538
Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-24 21:16:52 +01:00
Joe Taylor
5c4878a00a Display cursor position on Wide graph as a ToolTip. 2020-07-24 13:35:04 -04:00
Joe Taylor
dbaffea0cd Allow only TR periods >= 120 s for FST4W. 2020-07-24 11:13:48 -04:00
Bill Somerville
90c1824ffe
Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-24 16:01:57 +01:00
Joe Taylor
c802c60afa Allow FST4 to use Split (Rig or Fake it). Set Tx upper freq limit for FST4W to 1600 Hz. 2020-07-24 10:58:10 -04:00
Bill Somerville
29fc0ced19
Revert "Fix double-clicking on a decode line containing fSpread."
Change superseded.

This reverts commit d9c2a11821.
2020-07-24 12:46:43 +01:00
Bill Somerville
580dd85a18
Remainder of renames to FST4 2020-07-23 18:51:05 +01:00
Joe Taylor
77a6f8f514 Move blanking from symspec() to fst240_decode(). Do not apply RefSpec corrections to data read from disk. 2020-07-23 10:58:10 -04:00
Bill Somerville
51f692d8d4
Avoid double Tx periods in WSPR modes when changing scheduling basis 2020-07-22 18:01:06 +01:00
Bill Somerville
ffd2ad4dc0
Narrower decodes display and move AP info into extra appended info 2020-07-22 01:05:14 +01:00
Joe Taylor
52643b01e2 Correct the "time to decode" and the "Tune" frequency for FST240 modes. 2020-07-21 14:56:20 -04:00
Joe Taylor
05a1b3bae8 Remove "Also FST240W" from the Decode menu and elswhere in the GUI. 2020-07-21 14:18:55 -04:00
Joe Taylor
52984a507a Move the WSPR frequency range indicator (green line) up 3 pixels. 2020-07-21 14:11:11 -04:00
Bill Somerville
5111dcdfa8
Include sub-mode in .WAV file meta-data for FST240 modes 2020-07-21 14:57:44 +01:00
Bill Somerville
0f6d054276
Narrow decode prints in the Band Activity window 2020-07-21 00:29:22 +01:00
Bill Somerville
09996d4d64
Leave decodes titles intact when changing settings in FST240* modes 2020-07-20 19:33:46 +01:00
Joe Taylor
2e916f995c Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-20 13:59:12 -04:00
Bill Somerville
06b9746619
Make fSpread printing compatible with QSOs 2020-07-20 18:27:29 +01:00
Bill Somerville
0c15ed36e9
Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-20 17:12:36 +01:00
Joe Taylor
d9c2a11821 Fix double-clicking on a decode line containing fSpread. 2020-07-20 11:48:09 -04:00
Joe Taylor
9702537614 Add Round-Robin options for cycles of 4, 5, and 6 sequences. 2020-07-20 11:29:58 -04:00
Joe Taylor
07e06de8f3 Increase gain of the yellow "Linear average" plot. 2020-07-20 11:23:30 -04:00
Joe Taylor
b427a92137 Increase max value of Navg spinner on WideGraph. 2020-07-20 11:16:37 -04:00
Bill Somerville
22f66795a1
Improved C/Fortran string interoperation, and fix azel.dat updates
The azel.dat file is no  longer written with future Doppler correction
information designed  for rigs  that can't do  CAT QSY  commands while
transmitting.
2020-07-20 15:15:55 +01:00
Bill Somerville
731dfc5c6f
Qt 5.15 compatibility 2020-07-19 21:09:52 +01:00
Joe Taylor
6a4f1fbdf7 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-19 13:21:45 -04: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
58fc82e178
Correct standard message generation for FST240 2020-07-19 12:31:10 +01:00
Joe Taylor
7fa7b0dda9 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-18 13:57:08 -04:00
Joe Taylor
4fa9557272 Add end-of-Rx-sequence number of buffers for 900 and 1800 s sequences. 2020-07-18 13:56:19 -04:00
Joe Taylor
e73f27954d Increase valid range of TRperiod controls. 2020-07-18 13:55:33 -04:00
Bill Somerville
43d6eacc4b
Refined stop times 2020-07-18 18:52:09 +01:00
Bill Somerville
60ddd40049
More 15 & 30 minute T.R period updates 2020-07-18 18:50:08 +01:00
Bill Somerville
28c5bfc1bd
Process double-clicks of Fox multi-caller replies correctly
This change also ignores attempts to double-click other Hound calls.
2020-07-18 14:47:20 +01:00
Bill Somerville
8b35e744d0
Increase Tx waveform storage & update wide graph nsps for FST240 2020-07-18 10:35:26 +01:00
Bill Somerville
4e0f1103b6
15 and 30 minute T/R periods for FST240 & FST240W 2020-07-17 23:44:14 +01:00
Bill Somerville
cccb38dbef
Pass hints to fst240sim, genfst240, and packjt77::pack77 on WSPR msgs
Due to  an ambiguity with  message encodings between 77-bit  QSO modes
and 50-bit  beacon modes with message  types 13.n3 4.0 and  0.6 a hint
needs to be  passed to ensure the right encoding  is emitted. The hint
only  effects  ambiguous messages,  others  will  be encoded  strictly
according to the message content.
2020-07-17 19:09:21 +01:00
Joe Taylor
64dc6c6a6e Move the red goal post appropriately when FST240 or FSt240W mode is selected. 2020-07-17 12:00:15 -04:00
Bill Somerville
74970acdb7
Align FST240W round-robin scheduling with hours 2020-07-16 14:09:24 +01:00
Bill Somerville
785e9e7924
Undo a change only intended to testing 2020-07-15 14:45:08 +01:00
Joe Taylor
79dbdcca9c Correct a typo. 2020-07-14 14:54:40 -04:00
Joe Taylor
8ff7da3884 FST240W should Tx at audio freq in WSPRfreqSpinBox, not TxFreqSpinBox. 2020-07-14 14:51:40 -04:00
Joe Taylor
c925f6d1cc Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-07-14 11:43:40 -04:00
Joe Taylor
cbeb81b499 Add LF/MF noise blanker capability for FST240 and FST240W. 2020-07-14 11:27:41 -04:00
Bill Somerville
479dc1113f
Use non-averaging decodes window headings for FST240 2020-07-13 13:27:12 +01: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
4de41162a3 Make sure FST240W uses submode A. 2020-07-06 15:36:01 -04:00
Joe Taylor
d4bf73df84 Minor cleanup of RoundRobin control. 2020-07-03 14:17:13 -04:00
Joe Taylor
cbca2f2d80 No band-hopping in FST240W mode. 2020-07-03 10:06:52 -04:00
Joe Taylor
15014685ac Round-robin control should be visible only in FST240W mode. 2020-07-03 10:05:16 -04:00
Joe Taylor
f9e9a4e1ec Don't let mouse-click on WindGraph move frequencies in FST240W mode. 2020-07-03 09:58:52 -04:00
Joe Taylor
b9e92c416f Implement round-robin scheduling for FST240W mode. 2020-07-03 09:48:01 -04:00
Joe Taylor
5637b229a0 Correct the logic for initializing TRperiod everywhere in FST240W mode. 2020-07-02 16:54:16 -04:00
Joe Taylor
9f3bb0fbb7 Show option "Also FST240W" only in FST240 mode. 2020-07-02 16:20:18 -04:00
Joe Taylor
ab2371a96b Correct the logic for generating "Type 2: messages in FST240W. 2020-07-02 14:57:46 -04:00
Joe Taylor
1a82b9b24d Change the label for decoded text panel in FST240W mode. 2020-07-02 14:11:35 -04:00
Joe Taylor
8b2b1eb378 FST240W should always set RxFreq=1500 and FTol=100. 2020-07-02 14:03:00 -04:00
Joe Taylor
34055d331a Send TRperiod to WideGraph when entering FST240 and FST240W modes. 2020-07-02 13:48:35 -04:00
Joe Taylor
352b497399 Remove a diagnostic print. 2020-07-02 13:43:50 -04:00
Joe Taylor
ee013f8687 Remove an unused action. 2020-07-02 13:29:43 -04:00
Joe Taylor
860224e890 Many changes to make FST240W behave in most ways like WSPR. Needs testing! 2020-07-02 09:39:11 -04:00
Joe Taylor
e63b04bb44 Post FSt240W decodes to PSK Reporter. 2020-07-01 15:46:17 -04:00
Joe Taylor
0608521751 Remove unused references to WSPR_LF. 2020-07-01 15:12:14 -04:00
Joe Taylor
eb1c60e454 Remove several more vestiges of WSPR-LF mode. 2020-07-01 13:17:07 -04:00
Joe Taylor
8903041aa9 Fix the startup value of TRperiod for FST240W mode. 2020-07-01 12:10:42 -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
a44b240192 Change to NSPS=720 for 15-seconf FST240 modes, to allow use for EME. 2020-06-29 17:33:46 -04:00
Joe Taylor
ae6ca148bd Pass mode name to the Modulator. 2020-06-29 14:47:46 -04:00
Joe Taylor
494481fa8a Remove a poisonous but unused line of code. 2020-06-28 20:22:24 -04:00
Joe Taylor
7d094b36bf
Fix the "double-click on AP decode" crash. 2020-06-28 23:23:10 +01:00
Joe Taylor
1610375eee Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-06-28 16:27:23 -04:00
Joe Taylor
5b22280631 Fix the "double-click on AP decode" crash. 2020-06-28 16:26:22 -04:00
Bill Somerville
d5c5a58c7f
Merge branch 'develop' into feat-fst280 2020-06-27 22:14:09 +01:00
Joe Taylor
2b85c70bbc Correct the m_hsymStop values for FST240-300. 2020-06-27 16:58:55 -04:00
Joe Taylor
51447ef1d3 Remove the 1 s offset in wave() array. Fix NSPS for 300 s periods. 2020-06-27 16:24:11 -04:00
Joe Taylor
eb167b11d3 Fix several more GUI parameters for FST240. 2020-06-27 14:13:59 -04:00
Joe Taylor
cd9146e646 Change a few more GUI parameters for the switch from FST280 to FST240. Tx timing probably still needs work. 2020-06-27 13:07:11 -04: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
Bill Somerville
37ab6eecd1
Update contributors, and UDP Message Protocol documentation 2020-06-27 00:23:34 +01:00
phl0
2a31d12d39
Adapt brach to changes proposed by G4WJS 2020-06-26 23:46:08 +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
Bill Somerville
ee157cde96
Avoid overriding style sheet for astronomical data dialog background 2020-06-25 12:57:12 +01:00
Joe Taylor
1226aacaad Remove the silly C++ puzzle, no longer needed. 2020-06-24 21:25:02 -04:00
Joe Taylor
55115a2955 Move the Wide Graph's green bar for FTol up 3 pixels. 2020-06-23 15:15:45 -04:00
Joe Taylor
b006d8381a Code for a C++ puzzle. 2020-06-23 14:21:25 -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
Joe Taylor
1f7d8545f3 Tx line to ALL.TXT should be trimmed(). 2020-06-21 13:49:37 -04:00
Joe Taylor
956aa2dfc5 Call switch_mode() to repopulate bandComboBox after switching to FST280. 2020-06-21 11:27:30 -04:00
Joe Taylor
f04c9d2267 Mark the FST280 Ftol range on the waterfall scale. 2020-06-21 10:54:24 -04:00
Joe Taylor
37b1b7aa6f More of "Single Decode". Also, update m_mode in Wide Graph when switching to FST280. 2020-06-21 10:34:24 -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
Bill Somerville
b48b23450d
First iteration of optional TCP/IP client for PSK Reporter 2020-06-21 01:36:30 +01:00
Joe Taylor
f8d7489b4e Fix many odds & ends for merging FST280 properly into the GUI. 2020-06-20 13:47:32 -04:00
Joe Taylor
87b79d0615 OK, we can now transmit in FST280 mode. 2020-06-19 15:02:05 -04:00
Joe Taylor
acd04cc050 Correctly restore FST280 submode on program restart. 2020-06-19 11:43:34 -04:00
Joe Taylor
a4e32807d9 Correct WSJT-X's display of UTC in FST280 decodes for TR < 60 s. 2020-06-19 09:59:12 -04:00