Commit Graph

536 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
Steven Franke 5ca81a6507
Use 3rd order polynomial fit to estimate the noise baseline. The
polynomial fit is done over 400 Hz bandwidth for T/R periods longer
than 15s, and over approx. 600 Hz (10 times the signal bandwidth) for
T/R period of 15s.
2020-08-29 19:55:23 +01:00
Bill Somerville 3d45e1128a Further Linux depedency and User Guide updates 2020-08-16 19:50:34 +01:00
Bill Somerville fb7af6c696
Further Linux dependency and install documentation updates 2020-08-16 19:11:51 +01:00
Bill Somerville 549198566b
Linux package dependency updates 2020-08-16 18:06:26 +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 9c43668640
Break unnecessary Qt link dependencies in Fortran utilities 2020-08-08 15:03:46 +01:00
Bill Somerville 0ba5d7e1bf
More flexibility for QDateTime round/truncate routine 2020-08-07 21:31:48 +01:00
Bill Somerville 92cf7b29c2
Merge branch 'develop' into feat-fst280 2020-07-31 15:00:50 +01:00
Bill Somerville c2b835c42b
Translatable help windows 2020-07-29 18:44:34 +01:00
Bill Somerville 790fde2123
Update package dependdencies for Debian style packages 2020-07-29 11:00:42 +01:00
Bill Somerville afceaa09f0 Update packge dependencies for RPM style packages 2020-07-29 02:01:23 +01:00
Bill Somerville 9c22eb321d
Merge branch 'develop' into feat-fst280 2020-07-26 16:20:11 +01:00
Bill Somerville 7bb5a8e009
Merge branch 'develop' into feat-psk-reporter-re-work 2020-07-26 15:52:39 +01:00
Bill Somerville 2f700265b9
Merge branch 'develop' into feat-fst280 2020-07-26 10:20:55 +01:00
Steven Franke 085e63e05d Rename fst240 to fst4 in Fortran routines. 2020-07-23 12:48:50 -05:00
Joe Taylor 372651ae55 Add a simple execution timer for small blocks of code. 2020-07-22 10:43:33 -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
Joe Taylor cbeb81b499 Add LF/MF noise blanker capability for FST240 and FST240W. 2020-07-14 11:27:41 -04:00
Bill Somerville bcff949025
Update some missing i18n strings 2020-07-13 00:55:42 +01:00
Bill Somerville adafb89769
Install FST240 simulator 2020-07-08 00:10:48 +01:00
Bill Somerville 61a72e9d91
Merge branch 'develop' into feat-fst280 2020-07-06 23:44:00 +01:00
Bill Somerville 90e18e50de
Danish UI translation, thanks to Michael, 5P1KZX 2020-07-05 12:42:08 +01:00
Bill Somerville 74c7fade32
Disable Hamlib caching while determining rig VFO resolution 2020-07-04 22:19:59 +01:00
Steven Franke c176572ec0 Add options for sub-symbol integration for sync and symbol estimation. 2020-07-04 09:15:57 -05:00
Steven Franke 6ebb487cd5 Remove residual WSPR_LF that was causing build errors. Build ldpcsim240_74. 2020-07-01 14:40:37 -05:00
Steven Franke e8bb7e74bc Add routines for a (240,74) code. Hardwire decoder for wspr messages, for the time being. 2020-06-30 13:29:32 -05:00
Steven Franke 390884268c Wholesale change from FST280 to FST240 2020-06-27 08:53:11 -05: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 af9f7b21c0 Starting to implement FST280 decoder. Make Rx sequences behave as desired. 2020-06-17 10:56:18 -04:00
Bill Somerville 3424dd7aa1
Typos in source file names and missed file 2020-06-16 19:39:04 +01:00
Steven Franke 5dfb3c781b Add fst280 files to CMakeLists.txt. Doesn't build yet. 2020-06-16 12:59:22 -05:00
Bill Somerville 9c22b5c3ed
Qt v5.15 compatibility 2020-06-13 16:04:41 +01:00
Bill Somerville b9491862a1
Enable Italian UI translation 2020-06-04 23:32:29 +01:00
Bill Somerville 1b26218897
Italian UI translation, tnx Marco, PY1ZRJ 2020-06-04 23:31:49 +01:00
Bill Somerville f5a284fe54
New proposed Danish UI translation from Michael, 5P1KZX 2020-06-04 16:28:49 +01:00
Bill Somerville 27a3b4d8fa
Add pending translations as comments in language list
and fix a defect in setting up new languages.
2020-06-02 21:17:31 +01:00
Bill Somerville 0138bb9a75
Tidy up l10n and allow for override to 'en' with no translations
Passing `--language en', '-l en-US', or `-l en_US` now takes a special
action to  not load  any translations using  the current  locale. This
allows the current system UI language not to influence an translations
loaded via the command line override when the native en-US is wanted.
2020-06-01 11:12:49 +01:00
Bill Somerville 1371b71c5a
Avoid duplicate resources and ensure generic Qt UI l10n loaded 2020-05-31 14:43:01 +01:00
Bill Somerville 51f18b1faa
Chinese and HK Chinese UI translations, thanks Sze-To, VR2UPU 2020-05-31 14:24:14 +01:00
Bill Somerville 4f0c125dbe
Japanese UI translation, thanks to Oba san, JA7UDE 2020-05-31 13:44:44 +01:00
Bill Somerville 1da87fe904
Empty wsjtx_en.qm so that macOS doesn't load a secondary l10n 2020-05-30 22:01:47 +01:00
Bill Somerville e7b8c5e7c0
Remove UI languages we do not yet have translation files for 2020-05-28 23:58:03 +01:00
Bill Somerville 399baf6f83
Allow macOS 10.12 support as Qt 5.12 is OK with that 2020-05-28 11:06:07 +01:00
Bill Somerville 3a1b42a3fd
Enable UI translations to Japanese 2020-05-26 12:57:38 +01:00
Bill Somerville 0856c4298a
Use language only to identify Spanish translation files
This  allows the  Spanish UI  translation to  work, for  now, for  all
Spanish speaking locales.  If necessary we  can make it es-ES if other
translators feel it is not a good base for their Spanish variant. OTOH
if they just need to l10n a  few strings then, say for Argentina, then
they can do  that in an wsjtx_es_AR.ts and  untranslated strings there
will fall back to the  ones in wsjtx_es.ts automatically. This happens
because of teh way the application loads multiple translation files in
an order suitable for that to happen.
2020-05-26 00:01:43 +01:00
Bill Somerville 7425f13abc
Add some polish to i18n
package Qt translations so that standard buttons etc. get l10n.
2020-05-25 22:44:05 +01:00
Bill Somerville 75c4dca87c
Switch to a single common Catalan language translation file
Xavi,  EA3W, assures  me that  all Catalan  dialects and  variants are
essentially  the same,  so there's  no  need to  have country  variant
specific Catalan translation files.
2020-05-19 12:28:50 +01:00
Joe Taylor 24bd0f807f Silence some compiler warning messages. 2020-05-17 14:09:25 -04:00