1 .TH AMIXER 1 "11 Aug 2000"
3 amixer \- command-line mixer for ALSA soundcard driver
5 \fBamixer\fP [\fI\-option\fP] [\fIcmd\fP]
7 \fBamixer\fP allows command\-line control of the mixer for the ALSA
9 \fBamixer\fP supports multiple soundcards.
11 \fBamixer\fR with no arguments will display the current mixer settings
12 for the default soundcard and device. This is a good way to see a list
13 of the simple mixer controls you can use.
23 Shows the information about a mixer device.
27 Shows a complete list of simple mixer controls.
31 Shows a complete list of simple mixer controls with their contents.
34 \fIset\fP or \fIsset\fP <\fISCONTROL\fP> <\fIPARAMETER\fP> ...
35 Sets the simple mixer control contents. The parameter can be the volume
36 either as a percentage from 0% to 100% with \fI%\fP suffix,
37 a dB gain with \fIdB\fP suffix (like \-12.5dB), or an exact hardware value.
38 The dB gain can be used only for the mixer elements with available
40 When plus(+) or minus(\-) letter is appended after
41 volume value, the volume is incremented or decremented from the current
44 The parameters \fIcap, nocap, mute, unmute, toggle\fP are used to
45 change capture (recording) and muting for the group specified.
47 The optional modifiers can be put as extra parameters to specify
48 the stream direction or channels to apply.
49 The modifiers \fIplayback\fP and \fIcapture\fP specify the stream,
50 and the modifiers \fIfront, rear, center, woofer\fP are used to specify
51 channels to be changed.
53 A simple mixer control must be specified. Only one device can be controlled
57 \fIget\fP or \fIsget\fP <\fISCONTROL\fP>
58 Shows the simple mixer control contents.
60 A simple mixer control must be specified. Only one device can be controlled
65 Shows a complete list of card controls.
69 Shows a complete list of card controls with their contents.
72 \fIcset\fP <\fICONTROL\fP> <\fIPARAMETER\fP> ...
73 Sets the card control contents. The identifier has these components: iface,
74 name, index, device, subdevice, numid. The next argument specifies the value
78 \fIcget\fP <\fICONTROL\fP>
79 Shows the card control contents. The identifier has same syntax as for
80 the \fIcset\fP command.
87 Select the card number to control. The device name created from this
88 parameter has syntax 'hw:N' where N is specified card number.
93 Select the device name to control. The default control name is 'default'.
96 \fI\-s\fP | \fI\-\-stdin\fP
98 Read from stdin and execute the command on each line sequentially.
99 When this option is given, the command in command\-line arguments is ignored.
101 Only sset and cset are accepted. Other commands are ignored.
102 The commands to unmatched ids are ignored without errors too.
110 Quiet mode. Do not show results of changes.
114 Use the raw value for evaluating the percentage representation.
115 This is the default mode.
119 Use the mapped volume for evaluating the percentage representation
120 like \fBalsamixer\fR, to be more natural for human ear.
125 \fBamixer \-c 1 sset Line,0 80%,40% unmute cap\fR
126 will set the second soundcard's left line input volume to 80% and
127 right line input to 40%, unmute it, and select it as a source for
128 capture (recording).\fR
131 \fBamixer \-c 1 \-\- sset Master playback \-20dB\fR
132 will set the master volume of the second card to \-20dB. If the master
133 has multiple channels, all channels are set to the same value.
136 \fBamixer \-c 1 set PCM 2dB+\fR
137 will increase the PCM volume of the second card with 2dB. When both
138 playback and capture volumes exist, this is applied to both volumes.
141 \fBamixer \-c 2 cset iface=MIXER,name='Line Playback Volume",index=1 40%\fR
142 will set the third soundcard's second line playback volume(s) to 40%
145 \fBamixer \-c 2 cset numid=34 40%\fR
146 will set the 34th soundcard element to 40%
157 \fBamixer\fP is by Jaroslav Kysela <perex@perex.cz>.
158 This document is by Paul Winkler <zarmzarm@erols.com> and Jaroslav Kysela <perex@perex.cz>.