[alsa-devel] Alsamixertest

David Henningsson david.henningsson at canonical.com
Wed Sep 29 12:12:52 CEST 2010

On 2010-09-29 11:48, Raymond Yau wrote:
> 2010/9/29 David Henningsson<david.henningsson at canonical.com>
>> 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
>> appropriately.
>> Alsamixertest is available for Ubuntu Lucid and Ubuntu Maverick from
>> these PPAs:
>> Lucid: https://launchpad.net/~diwic/+archive/ppa<https://launchpad.net/%7Ediwic/+archive/ppa>
>> Maverick: https://launchpad.net/~diwic/+archive/maverick<https://launchpad.net/%7Ediwic/+archive/maverick>
>> For other distributions, download the tarball:
>> https://launchpad.net/~diwic/+archive/ppa/+files/alsamixertest_47.14.tar.gz<https://launchpad.net/%7Ediwic/+archive/ppa/+files/alsamixertest_47.14.tar.gz>
>> 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.
>> http://launchpad.net/~diwic<http://launchpad.net/%7Ediwic>
> Do you need to write your own mixercontrol (amixer parser)  when there is
> alsa-python mixercontrol ?

I wasn't aware of "alsa-python mixercontrol". Thanks for the tip, I will 
consider it the next time I write something in python that needs to 
access the alsa mixer controls.

David Henningsson, Canonical Ltd.

More information about the Alsa-devel mailing list