Commit Graph

6683 Commits

Author SHA1 Message Date
Bill Somerville
7cc7687c90
Fix an off-by-one defect in WSPR random scheduling
Scheduler now correctly honours 0% and 100% schedules an dno longer
need special cases in UI code.
2020-08-15 02:45:25 +01:00
Bill Somerville
f7377e686f
Move bundled cty.dat from resources FS to installation data dir
This file is only used at start up so there is little point to keeping
it in program memory.
2020-08-14 14:47:07 +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
e69226b29a
Avoid enumerating audio devices until absolutely necessary
Enumerating  audio  devices with  QAudioDeviceInfo::availableDevices()
takes  a  long  time  on  Linux  with  pulseaudio.  This  change  only
enumerates  up  to  the  selected device  when  configuring  and  only
enumerates the whole list when the Settings->Audio tab is current.

This change also warns  with a message box when Tx  is started with no
audio output device configured.
2020-08-12 02:33:15 +01:00
Bill Somerville
c067580071
Performance optimization of frequencies and station info table views 2020-08-11 20:09:42 +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
4f68dfda40
Only tune audio buffer sizes on Windows 2020-08-11 14:27:46 +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
Joe Taylor
b6d14853c4 User Guide edits from Dave, KC3GPM. 2020-08-10 09:31:44 -04:00
Bill Somerville
ecde374cee
Trying a fixed audio input buffer size 2020-08-10 11:01:38 +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
Joe Taylor
07f63cdb63 Small adjustment to make file names for QRA66-30 modes correct. 2020-08-09 15:48:56 -04:00
Joe Taylor
42626009b5 TEMPORARY: Diagnostic routine for the "Save All" missing files problem. 2020-08-09 14:21:25 -04:00
Joe Taylor
84e53960cd QRA66 now works up for submodes A-D up to 300 s periods. Submode E presently NG. 2020-08-09 11:04:49 -04:00
Joe Taylor
de0476bf3c More changes to allow longer sequences in QRA66 mode. 2020-08-08 16:53:28 -04: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
Joe Taylor
d683cb6b8e Updates to GUI for different QRA66 sequence lengths and submodes. 2020-08-08 14:37:01 -04:00
Joe Taylor
e4fad77fa5 QRA66 now works with qra66sim and jt9 and TR periods 15 30 60 120 300 s. 2020-08-08 13:57:24 -04: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
6ea62d9476
Remove default audio devices from audio configuration
This enforces  an audio input device  in the settings dialog  since we
can't do anything  without an input device. A nil  audio output device
is allowed with a warning.
2020-08-08 16:57:51 +01:00
Bill Somerville
f32c927306
Control audio buffer size defaults from Configuration class 2020-08-08 16:52:03 +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
9c43668640
Break unnecessary Qt link dependencies in Fortran utilities 2020-08-08 15:03:46 +01:00
Joe Taylor
bf38f4416c Modifications to give QRA64 use of longer TR periods and tone-spacing submodes. Noy yet finished, or tested! 2020-08-08 09:14:12 -04:00
Bill Somerville
bf58cd43aa
Improve contrast of coloured widgets in dark style 2020-08-08 13:20:52 +01:00
Bill Somerville
31742156fd
Qt v5.8 backwards compatibility 2020-08-07 22:53:21 +01:00
Bill Somerville
7bafb5b71e
Qt5.7 backwards compatibility 2020-08-07 22:40:15 +01:00
Bill Somerville
0ba5d7e1bf
More flexibility for QDateTime round/truncate routine 2020-08-07 21:31:48 +01:00
Joe Taylor
2de2874672 Allow for larger irc created by message averaging. Commit test_qra66.f90 2020-08-06 14:23:39 -04:00
Joe Taylor
254e2f61fa Remove diagnostic write to fort.71. 2020-08-06 07:07:16 -04:00
Joe Taylor
30e34bf1c4 Implement message averaging (very basic) for QRA66. 2020-08-05 16:34:49 -04:00
Joe Taylor
6c8c9183aa SNR for QRA66 non-decodes now set to -25. 2020-08-05 11:16:56 -04:00
Joe Taylor
7256d70016 QRA66: change NSPS from 1920 to 1800. TxT=85*1800/12000=12.75 s. 2020-08-05 11:06:18 -04:00
Joe Taylor
2bb9566731 In QRA66 mode, make unused widgets invisible. 2020-08-05 09:37:03 -04:00
Joe Taylor
f1c8f04136 Report failed QRA66 decode as SNR = -22 dB. 2020-08-04 14:18:23 -04:00
Joe Taylor
e719efd835 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-08-04 13:44:01 -04:00
Joe Taylor
335cc41faa More code cleanup. Rename sync66a to sync66. 2020-08-04 13:13:49 -04:00
Joe Taylor
2e893e8994 Add Tx freq as command-line argument for qra66sim. 2020-08-04 13:12:51 -04:00
Steven Franke
cc0aa373a9 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-08-04 11:56:38 -05:00
Steven Franke
9b4b3a6623 Remove some unneeded code. 2020-08-04 11:56:32 -05:00
Joe Taylor
88102af49d Fic the transfer of ntol from GUI to qra66_decode(). 2020-08-04 12:53:37 -04:00
Joe Taylor
902bb4d5e0 Add timer calls in qra66_decode. 2020-08-04 11:58:09 -04:00
Joe Taylor
4b92c20ee9 Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280 2020-08-04 11:52:51 -04:00