From: "Sean M. Pappalardo - D.J. Pegasus" <spappalardo@mixxx.org>
To: Portaudio Mailing List <portaudio@music.columbia.edu>,
alsa-devel@alsa-project.org
Cc: mixxx-devel <mixxx-devel@lists.sourceforge.net>
Subject: Recording devices opened mono still sending stereo causing corrupt audio
Date: Thu, 10 Oct 2013 18:40:50 -0700 [thread overview]
Message-ID: <52575722.7060208@mixxx.org> (raw)
(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
next reply other threads:[~2013-10-11 1:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 1:40 Sean M. Pappalardo - D.J. Pegasus [this message]
2013-10-11 12:33 ` Recording devices opened mono still sending stereo causing corrupt audio 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52575722.7060208@mixxx.org \
--to=spappalardo@mixxx.org \
--cc=alsa-devel@alsa-project.org \
--cc=mixxx-devel@lists.sourceforge.net \
--cc=portaudio@music.columbia.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.