Commit Graph

6677 Commits

Author SHA1 Message Date
Bill Somerville
542ffe8311
Improve audio device handling and error recovery
where possible  audio devices that  disappear are not  forgotten until
the user selects another device, this should allow temporarily missing
devices or forgetting  to switch on devices before  starting WSJT-X to
be  handled more  cleanly. If  all else  fails, visiting  the Settings
dialog and  clicking OK should  get things  going again. Note  that we
still  do not  have  a  reliable way  of  detecting  failed audio  out
devices, in that  case selecting another device and  then returning to
the original should work.

Enumerating  audio devices  is expensive  and on  Linux may  take many
seconds per  device. To avoid  lengthy blocking behaviour until  it is
absolutely necessary,  audio devices are  not enumerated until  one of
the "Settings->Audio" device drop-down lists is opened. Elsewhere when
devices  must be  discovered  the  enumeration stops  as  soon as  the
configured device is  discovered. A status bar message  is posted when
audio devices are being enumerated as a reminder that the UI may block
while this is happening.

The message box warning about  unaccounted-for input audio samples now
only triggers when  >5 seconds of audio appears to  be missing or over
provided. Hopefully this will make the warning less annoying for those
that are  using audio sources  with high and/or variable  latencies. A
status  bar message  is still  posted for  any amount  of audio  input
samples  unaccounted for  >1/5 second,  this message  appearing a  lot
should be considered as notification that  there is a problem with the
audio sub-system, system load is  too high, or time synchronization is
stepping the PC clock rather  than adjusting the frequency to maintain
monotonic clock ticks.
2020-09-20 18:20:16 +01:00
Joe Taylor
1ab59a8d6b Fully configure WideGpahe after switching to JT65 mode. 2020-09-20 10:17:27 -04:00
Joe Taylor
e79c5f6576 Minor edits to User Guide. 2020-09-20 10:16:08 -04:00
Joe Taylor
0ab3e5116f Fix several flaws in the loop-over-NB logic in the FST4 decoder. 2020-09-19 10:08:42 -04:00
Joe Taylor
2af01ebaa1 Fix a flaw in the loop-over NB logic. There are more flaws! 2020-09-18 15:52:33 -04:00
Joe Taylor
327808a0bb One more try at fixing the Fmax() startup problem that Steve sees. 2020-09-18 13:33:30 -04:00
Joe Taylor
f0ed93cdd0 In the NB-loop, don't cycle around a decode attempt for the npct=0 pass. 2020-09-18 11:45:28 -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
375a869a51 Revert "Revert "Very basic code (including some diagnostics) for "try all NB settings". Will remove it again.""
This reverts commit 033cc65d08.
2020-09-18 09:01:51 -04:00
Joe Taylor
033cc65d08 Revert "Very basic code (including some diagnostics) for "try all NB settings". Will remove it again."
This reverts commit bcf7f36b9c.
2020-09-17 19:30:07 -04:00
Joe Taylor
bcf7f36b9c Very basic code (including some diagnostics) for "try all NB settings". Will remove it again. 2020-09-17 19:28:55 -04:00
Steven Franke
7d58df4cc1 In FST4 mode with Single Decode not checked, move candidates within 20 Hz of nfqso to the top of the list. 2020-09-17 14:22:38 -05:00
Joe Taylor
41aa5dae74 Make the FTol control invisible in FST4 if Single decode is not checked. 2020-09-17 12:58:59 -04:00
Joe Taylor
e60fc1ca19 FST4 GUI controls for FLow, FHigh, should disappear when Single Decode is checked. And some related improvements. 2020-09-16 20:16:32 -04:00
Joe Taylor
facd80dbf4 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-16 17:25:23 -04:00
Joe Taylor
21dc6a5c59 Connect the FLow and FHigh limits for FST4 decoding. 2020-09-16 17:23:59 -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
Bill Somerville
9356bec3a5
Updated translation files 2020-09-16 13:43:07 +01:00
Bill Somerville
2755afe466
Updated Catalan l10n, tnx to Xavi, EA3W 2020-09-16 13:42:15 +01:00
Bill Somerville
e48f71f424
Updated Spanish l10n, tnx Cédric, EA4AC 2020-09-16 11:45:55 +01:00
Bill Somerville
10fbcfc7d0
Updated l10n .TS files 2020-09-15 16:38:17 +01:00
Bill Somerville
baa9c4fdd4
Updated Italian l10n, tnx Marco, PY1ZRJ 2020-09-15 16:37:22 +01:00
Bill Somerville
c9e3c56c8e
Updated Spanish l10n, tnx Cédric, EA4AC 2020-09-15 16:35:52 +01:00
Bill Somerville
abe470b24a
Fix a typo 2020-09-15 15:53:14 +01:00
Bill Somerville
e4eb6eb94e
Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-15 10:31:04 +01:00
Steven Franke
221ede2903 Remove some unused variables. 2020-09-14 13:07:07 -05:00
Steven Franke
affe33091d Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 13:03:38 -05:00
Steven Franke
b49a90f530 Remove a redundant array. 2020-09-14 13:03:33 -05:00
Joe Taylor
cada7e5777 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 13:56:22 -04:00
Joe Taylor
3886411fad Two more corrections to mode-switch settings of GUI controls in FST4/FST4W. 2020-09-14 13:55:30 -04:00
Steven Franke
832212b402 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 12:42:36 -05:00
Steven Franke
1b59d9dc8c Eliminate redundancies from the calculation of sequence correlations. 2020-09-14 12:42:32 -05:00
Joe Taylor
1a9d97a969 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 10:59:34 -04:00
Joe Taylor
f20c45c167 FST4: Align WideGraph green bar with RxFreq on startup. CTRL-diouble-click on waterfall sets FTol=10 and calls decoder. 2020-09-14 10:56:54 -04:00
Steven Franke
ca0804450b Remove some redundant code. 2020-09-14 09:07:45 -05:00
Steven Franke
3d8c8e3dd7 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 09:00:35 -05:00
Steven Franke
98d52e35ac Speed up FST4 decoding. 2020-09-14 09:00:30 -05:00
Joe Taylor
614f3037a9 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-14 09:56:44 -04:00
Joe Taylor
8f554321c8 Make sure that Tx audio frequency in FST4 mode comes from FST4 TxFreq spinner, not the WSPR/FST4W spinner. 2020-09-14 09:55:33 -04:00
Bill Somerville
5014c62bfa
Notify user when enumerating audio devices 2020-09-13 17:12:11 +01:00
Bill Somerville
617d4eaa7f
Updated Chinese and Hong Kong UI translations, tnx to Sze-to, VR2UPU 2020-09-13 15:28:10 +01:00
Joe Taylor
39403c2520 Expand the range of allowable values for TxFreq in FST4W. 2020-09-13 09:38:39 -04:00
Joe Taylor
ec47811c27 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-12 13:47:11 -04:00
Joe Taylor
a1baaebee9 Decoder should reject data with rms < 3.0 over first 15 seconds. 2020-09-12 13:46:09 -04:00
Bill Somerville
e096b77bc1
Ensure default FTol spin box range covers all possible values
This allows persistence between sessions to work correctly.
2020-09-12 15:58:25 +01:00
Joe Taylor
174893395b Ensure sending correct FTol value from GUI to decoder for FST4. 2020-09-12 09:54:13 -04:00
Joe Taylor
bcdaf395f1 Must set m_bFastMode=false for FST4. Fixes the reported "Hold Tx frequency" issue. Also, ensure display of WideGraph rather than FastGraph for FST4, FST4W. 2020-09-12 09:35:32 -04:00
Joe Taylor
18ab40a576 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-12 09:02:27 -04:00
Joe Taylor
263675cac4 Fix an oddball result with i*2 numbers: abs(-32768)=-32768. 2020-09-12 09:00:39 -04:00
Bill Somerville
d5ef698ce1
Updated l10n files 2020-09-12 12:54:42 +01:00