Hi Peter, This should probably be re-classed as a sound card selection issue, rather than a sample-rate issue. As stated below, when your USB Audio CODEC is the default device, it does decode properly, which is good news. It is also good news that you have found a predictable way to make thing pass and fail.
WSPR and WSJT are similar, insofaras, they both use portaudio, but sound selection and setup (F2) is done differently between the two apps. I've not dug into the WSJT code to see how things work there as opposed to WSPR. I'm Joe has his reasons as to why things are done differently, maybe he can comment on the difference between the two. WSJT and WSJT-X is comparing Apples to Oranges, as the sound sub-system is completely different using QT. 73's Greg, KI7MT On 01/08/2015 08:54 AM, Peter Frenning [OZ1PIF] wrote: > Testing WSJT 10 on Linux Mint Cinnamon 17.1 Rebecca, 32-bit > Sound device is a SignaLinkUSB (Burr-Brown 2904) aka "USB Audio CODEC" > > This problem deserves renewed attention, since the ".asoundrc"-based > resampling > no longer works in the latest releases of Ubuntu and Ubuntu-based > distributions. > > I've done some testing in various sound configurations on my desktop system > > 1: WSJT 10.0 r4336 built using JTSDK (latest version), > accessing the device directly, this is the preferred way on a multipurpose > system like this, but, alas, doesn't work! > > Terminal output: > ****************************************************************** > WSJT Version 10.0 r4336 , by K1JT > Revision date: 2014-09-18 17:51:42 +0200 (tor, 18 sep 2014) > Run date: Thu Jan 8 14:17:57 2015 UTC > > Audio Input Output Device Name > Device Channels Channels > ------------------------------------------------------------------ > 0 2 8 HDA Intel: ALC887 Analog (hw:0,0) > 1 0 2 HDA Intel: ALC887 Digital (hw:0,1) > 2 2 0 HDA Intel: ALC887 Alt Analog (hw:0,2) > 3 1 0 Microsoft LifeCam VX-5000: USB Audio (hw:1,0) > 4 2 2 USB Audio CODEC: - (hw:2,0) > 5 0 8 HDA NVidia: HDMI 0 (hw:3,3) > 6 0 8 HDA NVidia: HDMI 1 (hw:3,7) > 7 128 128 sysdefault > 8 0 8 front > 9 0 8 surround40 > 10 0 128 surround41 > 11 0 128 surround50 > 12 0 8 surround51 > 13 0 8 surround71 > 14 0 2 iec958 > 15 0 2 spdif > 16 32 32 pulse > 17 0 2 dmix > 18 32 32 default > > User requested devices: Input = 4 Output = 4 > Default devices: Input = 18 Output = 18 > Will open devices: Input = 4 Output = 4 > Error opening output audio stream. > Errortext: Invalid sample rate > Number: -9997 > Error 2 in JTaudio, you will only be able to work offline. > --------------------------------------------------------------------- > > 2: WSJT 10.0 r4336 built using JTSDK (latest version, > now using default audio devices set to be the SignaLinkUSB (bad choice for > normal operation, but OK for testing) > > Terminal output: > ****************************************************************** > WSJT Version 10.0 r4336 , by K1JT > Revision date: 2014-09-18 17:51:42 +0200 (tor, 18 sep 2014) > Run date: Thu Jan 8 14:25:12 2015 UTC > > Audio Input Output Device Name > Device Channels Channels > ------------------------------------------------------------------ > 0 2 8 HDA Intel: ALC887 Analog (hw:0,0) > 1 0 2 HDA Intel: ALC887 Digital (hw:0,1) > 2 2 0 HDA Intel: ALC887 Alt Analog (hw:0,2) > 3 1 0 Microsoft LifeCam VX-5000: USB Audio (hw:1,0) > 4 2 2 USB Audio CODEC: - (hw:2,0) > 5 0 8 HDA NVidia: HDMI 0 (hw:3,3) > 6 0 8 HDA NVidia: HDMI 1 (hw:3,7) > 7 128 128 sysdefault > 8 0 8 front > 9 0 8 surround40 > 10 0 128 surround41 > 11 0 128 surround50 > 12 0 8 surround51 > 13 0 8 surround71 > 14 0 2 iec958 > 15 0 2 spdif > 16 32 32 pulse > 17 0 2 dmix > 18 32 32 default > > User requested devices: Input = 18 Output = 18 > Default devices: Input = 18 Output = 18 > Will open devices: Input = 18 Output = 18 > Audio streams running normally. > ****************************************************************** > > This works flawlessly!!! > ----------------------------------------------------- > > 3:WSJT 10 (beta release) for windows running on Wine (Windows emulator) > ****************************************************************** > WSJT Version 10.0 r4336 , by K1JT > Revision date: 2014-09-18 11:51:42 -0400 (Thu, 18 Sep 2014) > Run date: Thu Jan 8 14:44:14 2015 UTC > > Audio Input Output Device Name > Device Channels Channels > ------------------------------------------------------------------ > 0 2 0 Wine Sound Mapper - Input > 1 2 0 Pulseaudio > 2 0 2 Wine Sound Mapper - Output > 3 0 2 Pulseaudio > > User requested devices: Input = 0 Output = 2 > Default devices: Input = 0 Output = 2 > Will open devices: Input = 0 Output = 2 > Audio streams running normally. > ****************************************************************** > > This works flawlessly, but only when the SignaLinkUSB is configured as the > default sound device, I can find no way of accessing the SignaLinkUSB device > directly! > ---------------------------------------------------------------------- > > As far as Linux is concerned the device support all relevant Sample Rates, as > documented here: > pif@Quad-Mint ~ $ sudo lsusb -v -d 08bb:2904 | grep tSamFreq | sed -e "s,^.* > ,," > | sort -nu > 8000 > 11025 > 16000 > 22050 > 32000 > 44100 > 48000 > pif@Quad-Mint ~ $ > > My device is: > Bus 007 Device 002: ID 08bb:2904 Texas Instruments PCM2904 Audio Codec > > ------------------------------------------------------------------------------------------- > > I cannot figure out why WSJT 10 (and earlier versions) fail when trying to > set > up the device directly, but works when doing so indirectly. > WSPR and WSJT-X have no such problems with the exact same HW and SW > configuration! > > -- > Vy 73 de OZ1PIF/5Q2M, Peter > > ****************************************** > ** If it sounds too good to be true -- ** > ** it is! ** > ** If it sounds about right -- make ** > ** sure you can afford to be wrong! ** > ** ** > ** -- Robert Heinlein: ** > ** "Time enough for love" ** > ****************************************** > email: peter(no-spamfiller)@frenning.dk > http://www.frenning.dk/oz1pif.htm > Ph. +45 4619 3239/ +45 2332 9464 > Snailmail: > Peter Frenning > Ternevej 23 > DK-4130 Viby Sj. > Denmark > ****************************************** > -- ------------------------------------------------------------- The worth of man in reveled in his attitude to ordinary things when he is not before the footlights. (cf John 1:36) Oswald Chambers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
