This a mirror of WSJT-X and will be updated every 6 hours. PR will be ignored, head to the SF link. Repo will be updated at 06:00:00 UTC 12:00:00 UTC 18:00:00 UTC 00:00:00 UTC Now fixed.
Go to file
Bill Somerville 3fbf5a5686 Fix defects in audio down-sampling on some platforms.
The filter used for 4 times down-sampling cannot handle sample streams
where the hardware or drivers deliver chunks of data that are not
multiples of 4 frames long. This seems to be prevalent on some Linux
platforms. Also de-interleaving of single channel audio from stereo
streams was no longer supported.

I have changed the input strategy to de-interleave the incoming
sample stream into an intermediate buffer large enough to hold all the
samples required for a single unit of processing (one basic waterfall
interval) and apply the down-sampling filter to the whole intermediate
buffer just prior dispatch to the FFT generator.

This now means that we are now using the ubiquitous 48kHz hardware
sample rate for both input and output of audio across all platforms
and decoding a single channel of a stereo stream is again
supported. The down-sampling to 12kHz is done with a high quality FIR
49-tap low pass filter specifically designed by Joe (K1JT) for
operation in a 4kHz bandwidth.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3585 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-28 18:34:27 +00:00
contrib Added HRD Interface runtime library. 2013-08-15 23:48:02 +00:00
lib Update Makefile.linux. 2013-09-27 18:37:37 +00:00
logbook Moved code that writes to the ADIF log from logqso into logbook/adif 2013-09-06 05:00:28 +00:00
Palettes 1. Capitalize names of palettes appropriately. 2013-08-08 14:26:53 +00:00
samples More complete CMake install target including sample WAV files from 2013-08-16 00:24:32 +00:00
about.cpp A number of minor cleanup efforts: 2013-08-06 17:22:33 +00:00
about.h Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
about.ui 1. Add report to wsjt_status.txt, for JT-Alert. 2013-05-08 15:23:02 +00:00
AudioDevice.hpp Fix defects in audio down-sampling on some platforms. 2013-09-28 18:34:27 +00:00
CMakeLists.txt 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
commons.h 1. Correct bug that prevented save/restore of Wide Graph geometry. 2013-08-09 17:22:08 +00:00
decodedtext.cpp 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
decodedtext.h 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
Detector.cpp Fix defects in audio down-sampling on some platforms. 2013-09-28 18:34:27 +00:00
Detector.hpp Fix defects in audio down-sampling on some platforms. 2013-09-28 18:34:27 +00:00
devsetup.cpp Bugfix: DevSetup was not filling the sound output combo box correctly, causing the current setting to be changed without user input. 2013-08-11 02:35:44 +00:00
devsetup.h Bugfix: DevSetup was not filling the sound output combo box correctly, causing the current setting to be changed without user input. 2013-08-11 02:35:44 +00:00
devsetup.ui Added audio channel support. 2013-08-10 15:29:55 +00:00
displaytext.cpp 1. Fix for the locator being truncated on double click when the call was unexpectly long 2013-09-28 03:56:43 +00:00
displaytext.h 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
ffft.f Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
getdev.cpp Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
getfile.cpp Oops! I committed the wrong version of getfile.cpp. Now OK. 2013-07-08 23:58:19 +00:00
getfile.h Remove qDebug() statements. 2013-07-08 23:32:20 +00:00
getsvn.cmake Initial commit of a CMake script to build wsjtx. 2013-08-14 11:31:49 +00:00
jt9.txt Tweaks to jt9.txt 2012-10-21 19:24:54 +00:00
killbyname.cpp Added audio channel support. 2013-08-10 15:29:55 +00:00
libfftw3f_win.a Compiles on OPTI-745 under Win7. 2010-01-15 20:29:35 +00:00
libHRDInterface001.a First attempt at interface to Ham Radio Deluxe (HRD). 2013-05-21 19:49:41 +00:00
libpskreporter.a Implementing uploads to PSK Reporter. (Not yet finished.) 2013-03-11 15:51:44 +00:00
LICENSE_WHEATLEY.TXT Major changes to the MAP65 branch. This branch is now a copy of 2012-05-22 14:28:39 +00:00
logqso.cpp 1. Remove several obsolete palette files. 2013-09-13 13:42:11 +00:00
logqso.h Added audio channel support. 2013-08-10 15:29:55 +00:00
logqso.ui Clean up the Tab order on LogQSO and Setup screens. 2013-06-06 17:46:27 +00:00
main.cpp Added audio channel support. 2013-08-10 15:29:55 +00:00
mainwindow.cpp Fix defects in audio down-sampling on some platforms. 2013-09-28 18:34:27 +00:00
mainwindow.h Changed Detector to only pass multiples of 4 frames to 2013-09-28 00:58:36 +00:00
mainwindow.ui 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
meterwidget.cpp Added audio channel support. 2013-08-10 15:29:55 +00:00
meterwidget.h Added audio channel support. 2013-08-10 15:29:55 +00:00
Modulator.cpp Added audio channel support. 2013-08-10 15:29:55 +00:00
Modulator.hpp Added audio channel support. 2013-08-10 15:29:55 +00:00
mouse_commands.txt Add the files listing keyboard shortcuts and special mouse commands. 2013-04-26 21:39:11 +00:00
pa_get_device_info.c Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
paInputDevice.c Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
plotter.cpp New flexibility for defining and selecting the waterfall palette. 2013-08-07 14:49:45 +00:00
plotter.h New flexibility for defining and selecting the waterfall palette. 2013-08-07 14:49:45 +00:00
psk_reporter.cpp Change DNS loopup to slot in PSK Reporter class. 2013-09-04 18:55:38 +00:00
psk_reporter.h Change DNS loopup to slot in PSK Reporter class. 2013-09-04 18:55:38 +00:00
QtSupport.iss Major changes to the MAP65 branch. This branch is now a copy of 2012-05-22 14:28:39 +00:00
rigclass.cpp Added tuning parameters for audio subsystem. 2013-09-27 01:06:23 +00:00
rigclass.h Added audio channel support. 2013-08-10 15:29:55 +00:00
shortcuts.txt Adjustable start frequency for waterfall. 2013-07-25 16:48:10 +00:00
signalmeter.cpp Added audio channel support. 2013-08-10 15:29:55 +00:00
signalmeter.h Added audio channel support. 2013-08-10 15:29:55 +00:00
sleep.h Set properties for native eol style and the "Rev" keyword. 2012-05-22 17:09:48 +00:00
soundin.cpp Changes for 48000 Hz Audio in samplerate 2013-09-27 13:57:48 +00:00
soundin.h Moved audio input to the audio thread. 2013-08-17 19:21:14 +00:00
soundout.cpp Added tuning parameters for audio subsystem. 2013-09-27 01:06:23 +00:00
soundout.h Added tuning parameters for audio subsystem. 2013-09-27 01:06:23 +00:00
ss.bat Major changes to the MAP65 branch. This branch is now a copy of 2012-05-22 14:28:39 +00:00
sss.bat Major changes to the MAP65 branch. This branch is now a copy of 2012-05-22 14:28:39 +00:00
widegraph.cpp Bugfixes: 2013-08-11 01:30:05 +00:00
widegraph.h Added audio channel support. 2013-08-10 15:29:55 +00:00
widegraph.ui 1. Correct bug that prevented save/restore of Wide Graph geometry. 2013-08-09 17:22:08 +00:00
WSJT-X_Users_Guide_v1.1.docx UPdates to User's Guide -- mainly new pictures. 2013-08-01 11:51:48 +00:00
WSJT-X_Users_Guide_v1.2.docx 1. Remove several obsolete palette files. 2013-09-13 13:42:11 +00:00
wsjt.ico initial import 2005-12-22 16:40:53 +00:00
wsjtx_changelog.txt 1. Fix occasional program crash caused by receiving a message in the 2013-06-05 18:42:55 +00:00
wsjtx_config.h.in Initial commit of a CMake script to build wsjtx. 2013-08-14 11:31:49 +00:00
wsjtx_opti.iss 1. New startup default frequencies for 40, 30, and 6m. 2013-07-11 19:37:01 +00:00
wsjtx_update.iss 1. Correct bug that prevented save/restore of Wide Graph geometry. 2013-08-09 17:22:08 +00:00
wsjtx.iss 1. Remove several obsolete palette files. 2013-09-13 13:42:11 +00:00
wsjtx.pro 1. Decoded text should now remain left justified even if the font is too large for the window 2013-08-25 01:48:45 +00:00
wsjtx.rc Initial changes from JTMS3 to WSJTX. 2012-09-24 15:20:48 +00:00