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
2013-09-27 18:37:37 +00:00
2013-08-06 17:22:33 +00:00
2013-08-10 15:29:55 +00:00
2013-07-08 23:32:20 +00:00
2012-10-21 19:24:54 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-10 15:29:55 +00:00
2013-08-11 01:30:05 +00:00
2013-08-10 15:29:55 +00:00
2005-12-22 16:40:53 +00:00
2012-09-24 15:20:48 +00:00
Description
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.
216 MiB
Languages
C++ 52.4%
Fortran 19.5%
Python 18.8%
C 7.6%
CMake 1.3%
Other 0.1%