From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Henningsson Subject: Re: Alsamixertest Date: Wed, 29 Sep 2010 12:12:52 +0200 Message-ID: <4CA31124.30507@canonical.com> References: <4CA30A13.2030802@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by alsa0.perex.cz (Postfix) with ESMTP id A1F8E1038CE for ; Wed, 29 Sep 2010 12:12:54 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org On 2010-09-29 11:48, Raymond Yau wrote: > 2010/9/29 David Henningsson > >> 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 >> Maverick: https://launchpad.net/~diwic/+archive/maverick >> >> For other distributions, download the tarball: >> https://launchpad.net/~diwic/+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 >> > > 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. http://launchpad.net/~diwic