Tuesday, August 17, 2010

Ubuntu/ALSA controlling volume from the command line

If you are using ALSA as your audio framework, if you are using a common distribution like Ubuntu you probably are, there is a command line program called alsamixer which provides an elaborate set of options to control your sound settings.

The sound setting I most often tinker with is, of course, raising and lowering the volume. A simple way to do that on the command line is "amixer -c 0 sset Master,0 %", for e.g. amixer -c 0 sset Master,0 60%.

No comments:

Post a Comment