Speech-friendly alsa mixer (sam) released, testers needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So Janina, on Saturday I started writing the tool you are asking about below. It works fine on the two machines I have tested on, but obviously, it is new code which needs more testing.
Grab it from http://www.sanote.co.za/downloads/sam-latest.tar.bz2
Extract: tar jxvf sam-latest.tar.bz2
cd sam
and read the README.md for more details.

Janina, I hope you can give it a spin as you are the person with the most sound devices in one machine I know about.
I am no expert on alsa, so do not expect too much.
Feedback is welcome.
Kind regards, Willem


On Fri, 5 Apr 2019, Janina Sajka wrote:

[The e-mail server of the sender could not be verified (SPF Record)]

Hi, Glenn:

I'm not aware of a way to manage "all" through a single command. Maybe
someone has written a tool like that. Part of the problem is that each
sound card is different, providing more or fewer interface options. And,
if you have more than one card, like I do, things get even more complex.

Here's how to enumerate the cards you have:
aplay -l

Now, for each individual card, where x stands for the card number,  you can query available controls like so:

amixer -Cx controls

You'l find some cards have lots of controls, and others very few. If
you're looking only for volume, grep is your friend like so by way of
example:

amixer -c2 controls |grep -i volume

Of course, if you have but one card, you don't need the -c switch.

Now, to get the current setting for any control, again where x
identifies the card, and y identifies the numeric id you discovered with
the grep above, do like so:

amixer -cx cget numid=y


Lastly, to set the volume:

amixer -cx cset numid=y [value]

hth

Janina

Glenn At Home writes:
Hi,
I'm reading the amixer manpage and I'm unclear on how to set the volume output to 100%.
Is there a simple command to make sure that all is unmuted and at 100%?
Thanks


Sent From My Tabletop
N0YJV   shade tree computer guy
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

--

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:	http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures	http://www.w3.org/wai/apa

_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux