Blame amixer/amixer.1

Packit Service a9274b
.TH AMIXER 1 "11 Aug 2000"
Packit Service a9274b
.SH NAME
Packit Service a9274b
amixer \- command-line mixer for ALSA soundcard driver
Packit Service a9274b
.SH SYNOPSIS
Packit Service a9274b
\fBamixer\fP [\fI\-option\fP] [\fIcmd\fP]
Packit Service a9274b
.SH DESCRIPTION
Packit Service a9274b
\fBamixer\fP allows command\-line control of the mixer for the ALSA
Packit Service a9274b
soundcard driver.
Packit Service a9274b
\fBamixer\fP supports multiple soundcards.
Packit Service a9274b
Packit Service a9274b
\fBamixer\fR with no arguments will display the current mixer settings
Packit Service a9274b
for the default soundcard and device. This is a good way to see a list
Packit Service a9274b
of the simple mixer controls you can use.
Packit Service a9274b
Packit Service a9274b
.SH COMMANDS
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIhelp\fP
Packit Service a9274b
Shows syntax.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIinfo\fP
Packit Service a9274b
Shows the information about a mixer device.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIscontrols\fP
Packit Service a9274b
Shows a complete list of simple mixer controls.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIscontents\fP
Packit Service a9274b
Shows a complete list of simple mixer controls with their contents.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIset\fP or \fIsset\fP <\fISCONTROL\fP> <\fIPARAMETER\fP> ...
Packit Service a9274b
Sets the simple mixer control contents. The parameter can be the volume
Packit Service a9274b
either as a percentage from 0% to 100% with \fI%\fP suffix,
Packit Service a9274b
a dB gain with \fIdB\fP suffix (like \-12.5dB), or an exact hardware value.
Packit Service a9274b
The dB gain can be used only for the mixer elements with available
Packit Service a9274b
dB information.
Packit Service a9274b
When plus(+) or minus(\-) letter is appended after
Packit Service a9274b
volume value, the volume is incremented or decremented from the current
Packit Service a9274b
value, respectively.
Packit Service a9274b
Packit Service a9274b
The parameters \fIcap, nocap, mute, unmute, toggle\fP are used to
Packit Service a9274b
change capture (recording) and muting for the group specified.
Packit Service a9274b
Packit Service a9274b
The optional modifiers can be put as extra parameters to specify
Packit Service a9274b
the stream direction or channels to apply.
Packit Service a9274b
The modifiers \fIplayback\fP and \fIcapture\fP specify the stream,
Packit Service a9274b
and the modifiers \fIfront, rear, center, woofer\fP are used to specify
Packit Service a9274b
channels to be changed. 
Packit Service a9274b
Packit Service a9274b
A simple mixer control must be specified. Only one device can be controlled
Packit Service a9274b
at a time.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIget\fP or \fIsget\fP <\fISCONTROL\fP>
Packit Service a9274b
Shows the simple mixer control contents.
Packit Service a9274b
Packit Service a9274b
A simple mixer control must be specified. Only one device can be controlled
Packit Service a9274b
at a time.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIcontrols\fP
Packit Service a9274b
Shows a complete list of card controls.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIcontents\fP
Packit Service a9274b
Shows a complete list of card controls with their contents.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIcset\fP <\fICONTROL\fP> <\fIPARAMETER\fP> ...
Packit Service a9274b
Sets the card control contents. The identifier has these components: iface,
Packit Service a9274b
name, index, device, subdevice, numid. The next argument specifies the value
Packit Service a9274b
of control.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fIcget\fP <\fICONTROL\fP>
Packit Service a9274b
Shows the card control contents. The identifier has same syntax as for
Packit Service a9274b
the \fIcset\fP command.
Packit Service a9274b
Packit Service a9274b
.SH OPTIONS
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-c\fP card
Packit Service a9274b
Packit Service a9274b
Select the card number to control. The device name created from this
Packit Service a9274b
parameter has syntax 'hw:N' where N is specified card number.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-D\fP device
Packit Service a9274b
Packit Service a9274b
Select the device name to control. The default control name is 'default'.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-s\fP | \fI\-\-stdin\fP
Packit Service a9274b
Packit Service a9274b
Read from stdin and execute the command on each line sequentially.
Packit Service a9274b
When this option is given, the command in command\-line arguments is ignored.
Packit Service a9274b
Packit Service a9274b
Only sset and cset are accepted.  Other commands are ignored.
Packit Service a9274b
The commands to unmatched ids are ignored without errors too.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-h\fP 
Packit Service a9274b
Help: show syntax.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-q\fP
Packit Service a9274b
Quiet mode. Do not show results of changes.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-R\fP 
Packit Service a9274b
Use the raw value for evaluating the percentage representation.
Packit Service a9274b
This is the default mode.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fI\-M\fP 
Packit Service a9274b
Use the mapped volume for evaluating the percentage representation
Packit Service a9274b
like \fBalsamixer\fR, to be more natural for human ear.
Packit Service a9274b
Packit Service a9274b
.SH EXAMPLES
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fBamixer \-c 1 sset Line,0 80%,40% unmute cap\fR
Packit Service a9274b
will set the second soundcard's left line input volume to 80% and
Packit Service a9274b
right line input to 40%, unmute it, and select it as a source for
Packit Service a9274b
capture (recording).\fR
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fBamixer \-c 1 \-\- sset Master playback \-20dB\fR
Packit Service a9274b
will set the master volume of the second card to \-20dB.  If the master
Packit Service a9274b
has multiple channels, all channels are set to the same value.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fBamixer \-c 1 set PCM 2dB+\fR
Packit Service a9274b
will increase the PCM volume of the second card with 2dB.  When both
Packit Service a9274b
playback and capture volumes exist, this is applied to both volumes.
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fBamixer \-c 2 cset iface=MIXER,name='Line Playback Volume",index=1 40%\fR
Packit Service a9274b
will set the third soundcard's second line playback volume(s) to 40%
Packit Service a9274b
Packit Service a9274b
.TP
Packit Service a9274b
\fBamixer \-c 2 cset numid=34 40%\fR
Packit Service a9274b
will set the 34th soundcard element to 40%
Packit Service a9274b
Packit Service a9274b
.SH SEE ALSO
Packit Service a9274b
\fB
Packit Service a9274b
alsamixer(1)
Packit Service a9274b
\fP
Packit Service a9274b
Packit Service a9274b
.SH BUGS 
Packit Service a9274b
None known.
Packit Service a9274b
Packit Service a9274b
.SH AUTHOR
Packit Service a9274b
\fBamixer\fP is by Jaroslav Kysela <perex@perex.cz>.
Packit Service a9274b
This document is by Paul Winkler <zarmzarm@erols.com> and Jaroslav Kysela <perex@perex.cz>.