[alsa-devel] Alsamixertest

David Henningsson david.henningsson at canonical.com
Wed Sep 29 11:42:43 CEST 2010

Here's the tool "one of the Mandriva guys" ;-) was talking about the 
other day. I should probably have announced it on both lists simultaneously.

Anyway, over the previous weeks I've been working on a small script 
which tests whether the ALSA mixer lives up to PA's expectations. If you 
are familiar with dbmeasure or dbverify by Lennart Poettering, this 
application's purpose is very similar, but this one is hopefully easier 
to set up, more user friendly, and also tests that the names of the 
volume controls are correct.
My hope is that this will aid as a debugging tool for all these 
"everything below 20% of my speaker is muted, and then 21% blows my 
speakers" bugs.

To use the tool, you'll need some kind of loopback. You can e g use a 
loopback cable and connect that between line in and line out, or test 
your laptop's internal speakers with your laptop's internal mic (just 
stop humming when you do so :-) ). Just set up the recording levels 

Alsamixertest is available for Ubuntu Lucid and Ubuntu Maverick from 
these PPAs:
Lucid: https://launchpad.net/~diwic/+archive/ppa
Maverick: https://launchpad.net/~diwic/+archive/maverick

For other distributions, download the tarball:
Unpack and read the readme file for compilation and install instructions.

When it is installed, run "alsamixertest -r" for a small tutorial and 
"alsamixertest -h" for command line options help.

Looking forward to your comments about this new little tool! I think it 
should be considered "beta" quality at this point.

David Henningsson, Canonical Ltd.

More information about the Alsa-devel mailing list