Commit Graph

5377 Commits

Author SHA1 Message Date
Bill Somerville
c393740b0a Fix an off by error 2019-05-11 01:57:56 +01:00
Bill Somerville
8d6c7649e0 Repaired a defect in the calculation of delay before starting audio streams 2019-05-10 20:31:16 +01:00
Bill Somerville
62f9b32758 Added playback to record_time_signal tool
The tool may be started with either '-o <file-path>' to record or with
'-i  <file-path>',  where  file-path  is an  existing  .WAV  file,  to
playback  audio. Audio  output devices  may  be listed  with the  '-O'
option  and selected  by index  number using  the '-P  <device-index>'
option. No format conversions are done for playback by the tool so the
output device  must support  the format  of the  input .WAV  file. The
playback duration is the duration of the input .WAV file.

The tool '-s <start-second-in-minute>' option is now optional, without
it recording  or playback  starts immediately. So  to playback  a .WAV
file:

    $ record_time_signal -i wwv.wav

To play back the same file stating at second 55 in the minute:

   $ record_time_signal -i wwv.wav -s 55

Use the '-h' option for more help.
2019-05-10 19:38:04 +01:00
Bill Somerville
c227c8d143 Export restriction 2019-05-10 19:33:12 +01:00
Joe Taylor
652c36aba6 Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-05-10 14:00:26 -04:00
Joe Taylor
994a490cdd Change output sound buffer to 200 ms (was 2000 ms). 2019-05-10 13:58:01 -04:00
Bill Somerville
3a3af42cc6 Tool to exercise QAudioInput
The tool record_time_signal is designed  to measure the performance of
QAudioInput. The  intended use  is to  record a  short period  of live
audio from  an on-air time  signal of  known good quaility,  the basic
required parameters  are an  audio input device,  an output  file name
(.WAV), a start second in a minute,  and a duration in seconds. So for
example to record  the time signal ticks  and fast data at  the top of
the minute:

    $ record_time_signal -o wwv.wav -s 55 -d 15

will record  15s of  audio at  48000Hz sample  rate, stereo,  from the
default audio  input device, starting  at second  55. This will  use a
separate timer  to stop  the recording  which is  likely to  leave the
output file a little short due  to buffer latency. The buffer size can
be adjusted using the '-b <buffered-frames>' option.

The tool  also supoorts  a different mechanism  to time  the recording
which uses the audio progress via  a notify signal. This should ensure
at least  the requested  duration is recorded  The shorter  the notify
interval  the  closer teh  final  size  shoould  be to  the  requested
duration.  Use the  '-d  <interval-ms>' option  to  adjust the  notify
interval.

    $ record_time_signal -o wwv.wav -s 55 -d 15 -n 100

Non-default audio devices can be selected, use the '-I' option to list
the available input  devices with an index number that  can be used to
select the device using the 'R <device-number>' option.

Other options are available, use '-h' for details.
2019-05-10 17:27:52 +01:00
Steve Franke
10b3debe8f Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-05-08 11:34:22 -05:00
Steve Franke
0668c4fce0 Improve sync at large DT. 2019-05-08 11:34:16 -05:00
Bill Somerville
1c3b554384 Revert "Log buttons"
This reverts commit 9e75b5c2b5.
2019-05-06 22:25:06 +01:00
Bill Somerville
1a914e980b Revert "Add background colour to Log QSO buttons as stronger visual cue"
This reverts commit a8a1d8d0a7.
2019-05-06 22:25:01 +01:00
Bill Somerville
27a0182ab7 Revert "Revert to colouring just the OK Log QSO button to help with colour-blindness accessibility"
This reverts commit b9e194b74f.
2019-05-06 22:24:51 +01:00
Steve Franke
0d1b438b91 FT4: Fix generation of Tx5 when one callsign is nonstandard. 2019-05-04 09:33:53 -05:00
Steve Franke
0795651f0f FT4: Initialize mycall13 and dxcall13 for unpack77. 2019-05-04 08:05:28 -05:00
Bill Somerville
bd07a6e755 Add default QDateTime delegate editor 2019-05-04 01:02:16 +01:00
Bill Somerville
2e5152ad08 Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-05-03 23:34:39 +01:00
Steve Franke
3611be8ba0 Try to avoid an array bounds error that has been reported by a user. Cause unknown. 2019-05-03 10:51:45 -05:00
Steve Franke
ab282fae78 Add bLowSidelobes argument to the call to symspec. It is initialized to FALSE. 2019-05-03 09:01:18 -05:00
Bill Somerville
b79cf0df99 Improvements to accessibiity
Where  tool  tips are  defined  in  rich  text, equivalent  pain  test
accessible descriptions have been added  so that screen readers do not
announce HTML tags.

Refactored date time  delegates to use a simpler default  editor via a
default  item editor  factory for  QDateTime values,  the editor  is a
standard QDateTimeEdit with a format that includes seconds and renders
assuming the time is UTC.

Modified the Cabrillo log and Fox log database table models to provide
QDateTime items  for the edit role  of date time fields,  and formated
date time strings including seconds and assumed as UTC for the display
role.
2019-05-03 10:21:50 +01:00
Bill Somerville
45a1841eec Fix another grid variable length to suit new azdist API 2019-05-02 22:01:31 +01:00
Steve Franke
b42ccd76b2 Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-05-02 11:39:28 -05:00
Steve Franke
156f62d2fe 1. Fix array bounds mismatch in subroutine call that was the likely cause of Fortran crashes, and 2. open up DT search range to +/- 0.77s 2019-05-02 11:39:18 -05:00
Bill Somerville
fd3fb106d4 User Guide updates for 64-bit Windows 2019-05-01 12:27:55 +01:00
Steve Franke
8b483620be Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-30 20:12:42 -05:00
Steve Franke
b5f0cc7ea7 Add a third decoding pass. 2019-04-30 20:02:42 -05:00
Bill Somerville
7f523d37f9 Bump RC number 2019-04-30 23:05:54 +01:00
Joe Taylor
8104d80998 Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-30 16:03:01 -04:00
Joe Taylor
c7a388f740 Send FT4 audio frequency to PSK Reporter. 2019-04-30 16:02:26 -04:00
Bill Somerville
3916316a1c Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-30 15:43:01 +01:00
Bill Somerville
b9e194b74f Revert to colouring just the OK Log QSO button to help with colour-blindness accessibility 2019-04-30 15:33:01 +01:00
Bill Somerville
b29a6d14ea Workaround for a crash on macOS when compiling with gfortran 8.3 2019-04-30 15:13:26 +01:00
Steve Franke
0a12b34ec5 Avoid a potential out-of-bounds error. 2019-04-30 08:54:42 -05:00
Joe Taylor
b2d6238b63 Fix a bug that caused FT4 to do WSPR band-hopping. 2019-04-30 09:38:20 -04:00
Joe Taylor
1347f523de Allow RRR message in Tx4, in FT4 mode, if not using contest-style messages. 2019-04-30 09:17:34 -04:00
Joe Taylor
00d15d019e Tweak label on Advanced tab to include FT4. 2019-04-30 07:48:47 -04:00
Bill Somerville
a8a1d8d0a7 Add background colour to Log QSO buttons as stronger visual cue 2019-04-30 04:47:30 +01:00
Bill Somerville
7de974a7ee Fix settings acceptance jumping from FT8 to FT4 mode 2019-04-29 19:53:59 +01:00
Bill Somerville
ce1c4f08ad Updated CTY.DAT - Big CTY.DAT dated 16th April 2019 2019-04-29 16:25:43 +01:00
Bill Somerville
e6c3cb33cf Second iteration of proposed FT4 working frequencies 2019-04-29 16:23:58 +01:00
Bill Somerville
23e5e72a45 Merge branch 'hotfix-2.0.2' into release-2.1.0 2019-04-29 11:24:22 +01:00
Bill Somerville
3b6ece8bc6 Add some band plan annotation with some proposed FT4 working frequency suggestions 2019-04-29 03:08:59 +01:00
Bill Somerville
a28402c527 Avoid a crash when Rx samples arrive before wide graph plotter is ready 2019-04-28 22:20:24 +01:00
Bill Somerville
c5a591f30c Bump release candidate number 2019-04-28 22:06:52 +01:00
Steve Franke
3b8b871a7c Disable AP for mycall if more than 5 minutes since last Tx. Used to be 10 minutes. 2019-04-27 16:38:19 -05:00
Steve Franke
dc66304a65 Improve ALL.TXT formatting for JT9/JT65. Thank you to Sandro, IW3RAB, for submitting this fix. 2019-04-26 20:06:32 -05:00
Steve Franke
50eb2914af Change FT4 mode symbol to plus (+). 2019-04-26 16:44:09 -05:00
Joe Taylor
a19d82e362 Fix a typo. 2019-04-24 09:30:02 -04:00
Joe Taylor
f308d5246e Make the contest serial number spinner visible, where it should be. 2019-04-23 20:20:45 -04:00
Joe Taylor
dc627cb48c Enable QSO types other than RTTY RU in FT4 mode. 2019-04-23 14:16:55 -04:00
Joe Taylor
eaf567747c Fix the "Tx2 for Tx3" bug when using RTTY RU messages. Needs further testing! 2019-04-22 09:42:28 -04:00