amixer
Control ALSA soundcard mixer from the command line
TLDR
Turn up the master volume by 10%
SYNOPSIS
amixer [-option] [cmd]
DESCRIPTION
amixer is a command-line mixer control for the ALSA soundcard driver. It can adjust volume levels, toggle mute states, and query mixer control settings for any available soundcard. Running it without arguments displays current mixer settings for the default soundcard.
The tool provides both simple and full mixer interfaces. The simple interface (commands prefixed with s) uses human-readable control names like "Master" or "PCM", while the full interface operates on numeric control identifiers. Volume can be specified as absolute values, percentages, or decibels.
PARAMETERS
-c card
Select card number (e.g., 0, 1, 2)-D device
Select device name (default: 'default')-s, --stdin
Read and execute commands from stdin sequentially-q
Quiet mode; suppress output-R
Raw value for percentage evaluation (default)-M
Mapped volume for percentage evaluation
COMMANDS
scontrols
List all simple mixer controlsscontents
List simple mixer controls with their contentsset/sset NAME PARAMETER
Configure mixer control contents (supports percentage, dB values, mute/unmute/toggle)get/sget NAME
Display simple mixer control contentscontrols
List all card controlscontents
List card controls with their contentsinfo
Show mixer device information
CAVEATS
Mixer control names vary between sound cards. Use scontrols to list available controls for your card.
HISTORY
Part of ALSA (Advanced Linux Sound Architecture) utilities package.
