All of lore.kernel.org
 help / color / mirror / Atom feed
* Recording devices opened mono still sending stereo causing corrupt audio
@ 2013-10-11  1:40 Sean M. Pappalardo - D.J. Pegasus
  2013-10-11 12:33 ` Clemens Ladisch
  2013-10-11 13:07 ` Alan Horstmann
  0 siblings, 2 replies; 7+ messages in thread
From: Sean M. Pappalardo - D.J. Pegasus @ 2013-10-11  1:40 UTC (permalink / raw)
  To: Portaudio Mailing List, alsa-devel; +Cc: mixxx-devel

(Re-sending including alsa-devel and more information.)

Hello there.

I'm a developer for Mixxx, the cross-platform open-source DJ software 
which uses PortAudio and we've been trying for a long time to track down 
the cause of "horrible mic sound" as documented in our bug: 
https://bugs.launchpad.net/mixxx/+bug/900364
The resulting recorded audio sounds about 50-60% lower pitch with 
crackles and it only happens with the ALSA API on Linux and only with 
certain (mostly Intel-based) audio devices.

I have just discovered by testing in Audacity (which also uses PA) that 
the problem occurs when PA (and therefore ALSA) is asked to open just 
one channel of a sound input device yet the device (or ALSA) seems to 
stream two anyway. I have been able to reproduce the problem in Audacity 
(which also uses PA) when selecting the ALSA API and mono recording, but 
it works correctly when I change it to stereo recording.

I'm suspecting there's a miscommunication between PA and ALSA or ALSA 
and the sound hardware where either the lower level is saying its 
input(s) can only be opened in stereo and the higher level (or the 
application above it) ignores that, or the lower level says it's fine 
opening mono but then misbehaves.

How can I find out which, whether it's ALSA, PA, or the sound hardware 
at fault?

Sincerely,
Sean M. Pappalardo
"D.J. Pegasus"
Mixxx Developer - Controller Specialist

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-12  1:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11  1:40 Recording devices opened mono still sending stereo causing corrupt audio Sean M. Pappalardo - D.J. Pegasus
2013-10-11 12:33 ` Clemens Ladisch
2013-10-11 15:45   ` Alan Horstmann
2013-10-11 17:04     ` Clemens Ladisch
2013-10-12  1:05   ` [alsa-devel] " Ross Bencina
2013-10-12  1:20     ` [Portaudio] " RJ Ryan
2013-10-11 13:07 ` Alan Horstmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.