Blame alsamixer/alsamixer.1

Packit 229ac0
.TH ALSAMIXER 1 "22 May 2009"
Packit 229ac0
.SH NAME
Packit 229ac0
alsamixer \- soundcard mixer for ALSA soundcard driver, with ncurses interface
Packit 229ac0
.SH SYNOPSIS
Packit 229ac0
Packit 229ac0
\fBalsamixer\fP [\fIoptions\fP]
Packit 229ac0
Packit 229ac0
.SH DESCRIPTION
Packit 229ac0
\fBalsamixer\fP is an ncurses mixer program for use with the ALSA
Packit 229ac0
soundcard drivers. It supports multiple soundcards with multiple devices.
Packit 229ac0
Packit 229ac0
.SH OPTIONS
Packit 229ac0
Packit 229ac0
.TP
Packit 229ac0
\fI\-h, \-\-help\fP
Packit 229ac0
Help: show available flags.
Packit 229ac0
Packit 229ac0
.TP
Packit 229ac0
\fI\-c, \-\-card\fP <card number or identification>
Packit 229ac0
Select the soundcard to use, if you have more than one. Cards are
Packit 229ac0
numbered from 0 (the default).
Packit 229ac0
Packit 229ac0
.TP
Packit 229ac0
\fI\-D, \-\-device\fP <device identification>
Packit 229ac0
Select the mixer device to control.
Packit 229ac0
Packit 229ac0
.TP
Packit 229ac0
\fI\-V, \-\-view\fP <mode>
Packit 229ac0
Select the starting view mode, either \fIplayback\fP, \fIcapture\fP or \fIall\fP.
Packit 229ac0
Packit 229ac0
.TP
Packit 229ac0
\fI\-g, \-\-no\-color\fP
Packit 229ac0
Toggle the using of colors.
Packit 229ac0
Packit 229ac0
.SH MIXER VIEWS
Packit 229ac0
Packit 229ac0
The top-left corner of \fBalsamixer\fP is the are to show some basic
Packit 229ac0
information: the card name, the mixer chip name, the current view
Packit 229ac0
mode and the currently selected mixer item.
Packit 229ac0
When the mixer item is switched off, \fI[Off]\fP is displayed in its
Packit 229ac0
name.
Packit 229ac0
Packit 229ac0
Volume bars are located below the basic information area.  You can
Packit 229ac0
scroll left/right when all controls can't be put in a single screen.
Packit 229ac0
The name of each control is shown in the bottom below the volume bars.
Packit 229ac0
The currently selected item is drawn in red and/of emphasized.
Packit 229ac0
Packit 229ac0
Each mixer control with volume capability shows a box and the current
Packit 229ac0
volume filled in that box.  The volume percentages are displayed below
Packit 229ac0
the volume bar for left and right channels.  For a mono control, only
Packit 229ac0
one value is shown there.
Packit 229ac0
Packit 229ac0
When a mixer control is turned off, \fIM\fP (mute) appears below the
Packit 229ac0
volume bar.  When it's turned on, \fIO\fP in green appears instead.
Packit 229ac0
You can toggle the switch via \fIm\fP key.
Packit 229ac0
Packit 229ac0
When a mixer control has capture capability, the capture flag appears
Packit 229ac0
below the volume bar, too.  When the capture is turned off,
Packit 229ac0
\-\-\-\-\-\-\- is shown.  \fICAPTURE\fP in red appears when the
Packit 229ac0
capture switch is turned on.  In addition, \fIL\fP and \fIR\fP letters
Packit 229ac0
appear in left and right side to indicate that left and the right
Packit 229ac0
channels are turned on.
Packit 229ac0
Packit 229ac0
Some controls have the enumeration list, and don't show boxes but only
Packit 229ac0
texts which indicate the currently active item.  You can change the
Packit 229ac0
item via up/down keys.
Packit 229ac0
Packit 229ac0
.SH VIEW MODES
Packit 229ac0
\fBalsamixer\fP has three view modes: playback, capture and all.
Packit 229ac0
In the playback view, only the controls related with playback are shown.
Packit 229ac0
Similarly, only the controls for capture (recording) are shown in the capture
Packit 229ac0
view.  The all view mode shows all controls.  The current view mode is displayed
Packit 229ac0
in the top-left position together with the mixer name, etc.
Packit 229ac0
Packit 229ac0
The default view mode is the playback view.  You can change it via 
Packit 229ac0
\fI-V\fP option.
Packit 229ac0
Packit 229ac0
Each view mode can be switched via keyboard commands, too.
Packit 229ac0
See the next section.
Packit 229ac0
Packit 229ac0
.SH KEYBOARD COMMANDS
Packit 229ac0
\fBalsamixer\fP recognizes the following keyboard commands to control the soundcard. 
Packit 229ac0
Commands shown here in upper case can also be given in lower case.
Packit 229ac0
To be reminded of these keystrokes, hit the \fIh\fP key.
Packit 229ac0
Packit 229ac0
.SS
Packit 229ac0
General Controls
Packit 229ac0
Packit 229ac0
The \fILeft\fP and \fIright arrow\fP keys are used to select the
Packit 229ac0
channel (or device, depending on your preferred terminology). You can
Packit 229ac0
also use \fIn\fP ("next") and \fIp\fP ("previous").
Packit 229ac0
Packit 229ac0
The \fIUp\fP and \fIDown Arrows\fP control the volume for the
Packit 229ac0
currently selected device. You can also use \fI+\fP or \fI\-\fP for the
Packit 229ac0
same purpose. Both the left and right signals are affected. For
Packit 229ac0
independent left and right control, see below.
Packit 229ac0
 
Packit 229ac0
The \fIB\fP or \fI=\fP key adjusts the balance of volumes on left and
Packit 229ac0
right channels.
Packit 229ac0
Packit 229ac0
\fIM\fP toggles muting for the current channel (both left and right).
Packit 229ac0
If the hardware supports it, you can
Packit 229ac0
mute left and right independently by using \fI,\fP (or \fI<\fP) and
Packit 229ac0
\fI.\fP (or \fI>\fP) respectively.
Packit 229ac0
Packit 229ac0
\fISPACE\fP enables recording for the current channel. If any other
Packit 229ac0
channels have recording enabled, they will have their recording function
Packit 229ac0
disabled first. This only works for valid input channels, of course.
Packit 229ac0
Packit 229ac0
\fIL\fP re-draws the screen.
Packit 229ac0
Packit 229ac0
.SS
Packit 229ac0
View Mode Controls
Packit 229ac0
Function keys are used to change view modes.
Packit 229ac0
You can switch to the help mode and the proc info mode via \fIF1\fP and
Packit 229ac0
\fIF2\fP keys, respectively.
Packit 229ac0
On terminals that can't use function keys like gnome\-terminal, \fI?\fP and
Packit 229ac0
\fI/\fP keys can be used alternatively for help and proc modes.
Packit 229ac0
Packit 229ac0
\fIF3\fP, \fIF4\fP and \fIF5\fP keys are used to switch to playback, capture
Packit 229ac0
and all view mode, respectively.  \fITAB\fP key toggles the
Packit 229ac0
current view mode circularly.
Packit 229ac0
Packit 229ac0
.SS
Packit 229ac0
Quick Volume Changes
Packit 229ac0
Packit 229ac0
\fIPageUp\fP increases volume by 5.
Packit 229ac0
Packit 229ac0
\fIPageDown\fP decreases volume by 5.
Packit 229ac0
Packit 229ac0
\fIEnd\fP sets volume to 0.
Packit 229ac0
Packit 229ac0
You can also control left & right levels for the current channel
Packit 229ac0
independently, as follows:
Packit 229ac0
Packit 229ac0
[\fIQ\fP | \fIW\fP | \fIE\fP ]  -- turn UP [ left | both | right ]
Packit 229ac0
Packit 229ac0
[\fIZ\fP | \fIX\fP | \fIC\fP ] -- turn DOWN [ left | both | right ]   
Packit 229ac0
Packit 229ac0
If the currently selected mixer channel is not a stereo channel, then
Packit 229ac0
all UP keys will work like \fIW\fP, and all DOWN keys will work like \fIX\fP.
Packit 229ac0
Packit 229ac0
The number keys from \fI0\fP to \fI9\fP are to change the absolute volume
Packit 229ac0
quickly.  They correspond to 0 to 90% volume.
Packit 229ac0
Packit 229ac0
.SS
Packit 229ac0
Selecting the Sound Card
Packit 229ac0
Packit 229ac0
You can select another sound card by pressing the \fIF6\fP or \fIS\fP keys.
Packit 229ac0
This will show a list of available sound cards to choose from,
Packit 229ac0
and an entry to enter the mixer device name by hand.
Packit 229ac0
Packit 229ac0
.SS
Packit 229ac0
Exiting
Packit 229ac0
Packit 229ac0
Quit the program with \fIALT Q\fP, or by hitting \fIESC\fP.
Packit 229ac0
Please note that you might need to hit \fIESC\fP twice on some terminals
Packit 229ac0
since it's regarded as a prefix key.
Packit 229ac0
Packit 229ac0
.SH VOLUME MAPPING
Packit 229ac0
In \fBalsamixer\fP, the volume is mapped to a value that is more natural
Packit 229ac0
for a human ear.  The mapping is designed so that the position in the
Packit 229ac0
interval is proportional to the volume as a human ear would perceive
Packit 229ac0
it, i.e. the position is the cubic root of the linear sample
Packit 229ac0
multiplication factor.  For controls with a small range (24 dB or
Packit 229ac0
less), the mapping is linear in the dB values so that each step has
Packit 229ac0
the same size visually.
Packit 229ac0
Packit 229ac0
Only for controls without dB information, a linear mapping of the
Packit 229ac0
hardware volume register values is used (this is the same algorithm as
Packit 229ac0
used in the old \fBalsamixer\fP).
Packit 229ac0
Packit 229ac0
.SH SEE ALSO
Packit 229ac0
\fB
Packit 229ac0
amixer(1),
Packit 229ac0
aplay(1),
Packit 229ac0
arecord(1)
Packit 229ac0
\fP
Packit 229ac0
Packit 229ac0
.SH BUGS 
Packit 229ac0
Some terminal emulators (e.g. \fBnxterm\fP) may not
Packit 229ac0
work quite right with ncurses, but that's their own damn
Packit 229ac0
fault. Plain old \fBxterm\fP seems to be fine.
Packit 229ac0
Packit 229ac0
.SH AUTHOR
Packit 229ac0
.B alsamixer
Packit 229ac0
has been written by Tim Janik and
Packit 229ac0
been further improved by Jaroslav Kysela <perex@perex.cz>
Packit 229ac0
and Clemens Ladisch <clemens@ladisch.de>.
Packit 229ac0
Packit 229ac0
This manual page was provided by Paul Winkler <zarmzarm@erols.com>.