Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
amixer [-ccard] [command]
Command-line ALSA mixer
Displays a complete list of card controls. These controls can be set with the cset command, in contrast to simple mixer controls, which use set or sset.
List card controls and their contents.
Display the contents of the specified card control.
Set the card control to the value specified in the parameter. Card controls may be identified by iface, name, index, device, subdevice, or numid. The parameter will normally be a number or percentage value. For example, the command amixer -c 1 cset numid=16 50% will set the 16
thelement of the first sound card to 50%.
Display the current values for the specified control.
Display help message and quit.
Displays information about the card specified with the -c flag.
Display a list of simple mixer controls. Simple mixer controls can be set with the set or sset commands, in contrast to card controls, which use the cset command.
Set one of the controls listed by scontrols. You can specify the volume with a percentage from 0% to 100%, or a specific hardware value. By appending + or - to the number, you will increase or decrease the volume by that amount. To set recording and muting values, use the parameters cap (meaning capture, or record), nocap,mute,unmute, or toggle. To specify individual channels, use the parameters front, rear, center, or woofer. For example, the command amixer -c 1 sset Line,0 100% unmute will set Line 0 on the first sound card to 100% and unmute it.
The number of the card to adjust.
Specify the name of the device. By default, the name is default.
Display help information and quit.
Quiet mode: do not show the results of changes made.