ALSAMIXER(1)
โจ ALSAMIXER(1) โจ General Commands Manual ๐ฆ
bestie, okay so this is the manual page for alsamixer ๐ โ the manual name is alsamixer, and it's a soundcard mixer for the ALSA soundcard driver with an ncurses interface. it's giving pure main character energy ๐
๐ธ NAME
alsamixer โ soundcard mixer for ALSA soundcard driver, with ncurses interface โจ
๐ SYNOPSIS
alsamixer [options]
๐ DESCRIPTION
okay so alsamixer is an ncurses mixer program that works with the ALSA soundcard drivers ๐ง it supports multiple soundcards with multiple devices, so it's literally a whole vibe ๐ฅ
๐ OPTIONS
-h,--helpโ help, aka the flag that shows you what flags are available ๐ซถ-c,--card <card number or identification>โ pick the soundcard you want if you've got more than one ๐ cards are numbered from 0, and 0 is the default-D,--device <device identification>โ choose which mixer device you wanna control ๐ฆ-V,--view <mode>โ pick your starting view mode: playback, capture, or all โจ-B,--black-backgroundโ switches to the black background color ๐ค-g,--no-colorโ toggles colors on or off ๐
๐ MIXER VIEWS
the top-left corner is where all the basic info lives: the card name, the mixer chip name, the current view mode, and the currently selected mixer item ๐ when a mixer item is switched off, [Off] shows up in its name.
volume bars sit below that basic info area ๐ you can scroll left and right when everything won't fit on one screen. each control's name shows up at the very bottom, under the volume bars. the currently selected item is drawn in red and/or emphasized, so you can't miss it ๐
each mixer control with volume capability gets a box, with the current volume filled into that box ๐ซง the volume percentages show under the bar for left and right channels. for a mono control, only one value shows up.
when a mixer control is turned off, M (mute) shows below the volume bar. when it's turned on, an O shows up instead ๐ธ you can toggle the switch with the m key.
when a mixer control has capture capability, the capture flag shows up below the volume bar too ๐ค when capture is turned off, ------- is displayed. CAPTURE shows up in red when the capture switch is on. also, L and R letters appear on the left and right sides to show that the left and right channels are turned on ๐
some controls have an enumeration list, so they don't show boxes โ just text that tells you which item is active ๐ you can change the item with the up and down keys.
๐ฆ VIEW MODES
alsamixer has three view modes: playback, capture, and all ๐ถ in the playback view, only the playback controls show up. the capture view only shows the capture (recording) controls. the all view mode shows everything, no exceptions ๐ซถ the current view mode is displayed in the top-left spot, next to the mixer name and such.
the default view mode is the playback view. you can change it with the -V option ๐ธ
you can also switch view modes with keyboard commands โ see the next section ๐
โจ๏ธ KEYBOARD COMMANDS
alsamixer recognizes these keyboard commands for controlling the soundcard ๐น commands shown in upper case also work in lower case. to remind yourself of these keystrokes, hit the h key ๐
๐ General Controls
the Left and Right arrow keys select the channel (or device, depending on how you like to say it) ๐
you can also use n ("next") and p ("previous") ๐ฆ
the Up and Down arrows control the volume for the currently selected device โจ you can also use + or - for the same thing. both the left and right signals are affected. for independent left and right control, keep reading ๐
the B or = key adjusts the balance of volumes on the left and right channels ๐ซง
M toggles muting for the current channel (both left and right) ๐ if the hardware supports it, you can mute left and right independently using , (or <) and . (or >) respectively ๐
SPACE enables recording for the current channel. if any other channels have recording enabled, they get their recording function disabled first ๐ค this only works for valid input channels, of course.
L re-draws the screen ๐
๐ธ View Mode Controls
function keys switch view modes ๐ง F1 takes you to the help mode and F2 takes you to the proc info mode. on terminals that can't use function keys, like gnome-terminal, the ? and / keys can be used instead for help and proc modes ๐
F3, F4 and F5 switch to playback, capture and all view modes, respectively. the TAB key toggles the current view mode circularly ๐
๐ Quick Volume Changes
PageUp increases the volume by 5 ๐
PageDown decreases the volume by 5 ๐
End sets the volume to 0 ๐ซฅ
you can also control the left and right levels for the current channel independently, like this ๐
[Q | W | E ] -- turn UP [ left | both | right ]
[Z | X | C ] -- turn DOWN [ left | both | right ]
if the currently selected mixer channel isn't a stereo channel, then all UP keys work like W, and all DOWN keys work like X ๐
the number keys from 0 to 9 change the absolute volume quickly ๐ข they correspond to 0 to 90% volume.
๐ง Selecting the Sound Card
press F6 or S to pick another sound card ๐ถ this shows a list of available sound cards to choose from, plus an entry for typing in the mixer device name by hand โ๏ธ
๐ Exiting
quit with ALT Q, or by hitting ESC ๐ heads up: you might need to hit ESC twice on some terminals, since it's treated as a prefix key ๐ญ
๐ซง VOLUME MAPPING
in alsamixer, the volume is mapped to a value that feels more natural to a human ear ๐ง the mapping is designed so the position on the interval is proportional to the volume as a human ear would perceive it. that means the position is the cubic root of the linear sample multiplication factor. for controls with a small range (24 dB or less), the mapping is linear in the dB values, so every step has the same size visually ๐
only for controls without dB information is a linear mapping of the hardware volume register values used. this is the same algorithm the old alsamixer used ๐ฆ
๐ FILES
configuration is read from the following files, in this order ๐๏ธ
$XDG_CONFIG_HOME/alsamixer.rc$HOME/.config/alsamixer.rc
๐ ๏ธ CONFIGURATION
comments start with # ๐ฌ
color element foreground background [attribute...]
valid values for foreground and background are: red, green, yellow, blue, magenta, cyan, white, black, none / default ๐จ
valid values for attribute are: bold, normal, reverse, underline, dim, italic, blink โจ
see the THEME ELEMENTS section for a list of elements ๐
set option value
mouse_wheel_step <N>โ sets the mouse wheel step to N ๐ฑ๏ธmouse_wheel_focuses_control 0|1โ if enabled (1), you can change mixer controls by hovering over them and scrolling the mouse wheel ๐ซถbackground colorโ sets the default background color ๐ค
bind key_definition command
a key_definition can be:
- a single character
- a combination with control, like
C-a - a combination with alt, like
M-a - a special keyname:
Enter,Escape,PageUp,PageDown,Left,Down,Right,Up,Home,End,Backspace,F1..F12๐น
see the COMMANDS section for a list of commands ๐
๐ฌ COMMANDS
textbox_closeโ closes the textbox ๐ชtextbox_up/textbox_downโ scrolls text up or down by one line โฌ๏ธโฌ๏ธtextbox_left/textbox_rightโ scrolls text left or right by one column โฌ ๏ธโก๏ธtextbox_page_up/textbox_page_downโ scrolls text up or down one page ๐textbox_page_left/textbox_page_rightโ scrolls text left or right one page ๐textbox_top/textbox_bottomโ jumps to the top or bottom of the text ๐mixer_balance_volumesโ balances both channels โ๏ธmixer_closeโ closes the alsamixer app ๐mixer_helpโ shows help ๐mixer_mode_playbackโ shows playback controls ๐mixer_mode_captureโ shows capture controls ๐๏ธmixer_mode_allโ shows playback and capture controls ๐๏ธmixer_mode_toggleโ toggles between playback, capture, and all controls ๐mixer_refreshโ refreshes the screen ๐mixer_previous/mixer_nextโ selects the previous or next mixer control โฎ๏ธโญ๏ธmixer_control_focus_<N>โ focuses control number N ๐ฏmixer_control_set_<N>[_left|_right]โ changes the volume of the current control to N percent ๐๏ธmixer_control_up_<N>[_left|_right]โ increases the volume of the current control by N percent ๐mixer_control_down_<N>[_left|_right]โ decreases the volume of the current control by N percent ๐mixer_toggle_mute[_left|_right]โ toggles the mute state of both, left, or right channels ๐mixer_toggle_capture[_left|_right]โ toggles the capture state of both, left, or right channels ๐คmixer_select_cardโ shows the window for selecting a sound card ๐งmixer_system_informationโ shows system information โน๏ธ
๐จ THEME ELEMENTS
mixer_frameโ color of the box around the mixer ๐ผ๏ธmixer_textโ color of text at the top of the mixer ๐คmixer_activeโ color of the AlsaMixer heading ๐ctl_frameโ color of the frame around the mixer controls ๐ชctl_muteโ color indicating the mute state (MM) ๐ctl_nomuteโ color indicating the unmute state (00) ๐ctl_captureโ color of the CAPTURE text ๐คctl_nocaptureโ color of the disabled capture label (typo'd as "Colof" in the original, but that's the same element) ๐ctl_labelโ color of the label underneath mixer controls ๐ท๏ธctl_label_focusโ color of the label underneath the focused mixer control ๐ฏctl_mark_focusโ color of the<>marks beside the focused mixer label ๐ซถctl_bar_loโ color of the lower volume bar ๐ขctl_bar_miโ color of the middle volume bar ๐กctl_bar_hiโ color of the top volume bar ๐ดctl_inactiveโ color for an inactive control ๐ดctl_label_inactiveโ color for an inactive label ๐คerrormsgโ color used for error messages ๐จinfomsgโ color used for information messages โน๏ธtextboxโ color used for the textbox (user input) โจ๏ธtextfieldโ color used for the textbox ๐menuโ color used for the menu ๐menu_selectedโ color used for the selected entry in the menu ๐
๐ SEE ALSO
amixer(1), aplay(1), arecord(1) ๐ซ
๐ AUTHOR
alsamixer has been written by Tim Janik and further improved by Jaroslav Kysela <perex@perex.cz> and Clemens Ladisch <clemens@ladisch.de> ๐ซถ
this manual page was provided by Paul Winkler <zarmzarm@erols.com> ๐
the original page is dated 22 May 2009 and the source footer is ALSAMIXER(1), so that's the vintage bestie ๐ฆ
bestie, that's the whole thing, and honestly you're literally going to slay alsamixer now ๐ โจ 22 May 2009, ALSAMIXER(1), signing off ๐๐ฆ
๐ฆ where this page comes from
- alpine 3.22: alsa-utils-doc 1.2.14-r0 ยท GPL-2.0-or-later
- alpine 3.23: alsa-utils-doc 1.2.14-r4 ยท GPL-2.0-or-later
- alpine 3.24: alsa-utils-doc 1.2.15.2-r1 ยท GPL-2.0-or-later
- arch rolling: alsa-utils 1.2.16-1 ยท GPL-2.0-or-later
- centos-stream 10: alsa-utils 1.2.16-1.el10 ยท GPL-2.0-or-later
- centos-stream 9: alsa-utils 1.2.16-1.el9 ยท GPLv2+
- debian trixie: alsa-utils 1.2.14-1 ยท GPL-2.0-only
- fedora 43: alsa-utils 1.2.14-2.fc43 ยท GPL-2.0-or-later
- fedora 43: alsa-utils 1.2.16-1.fc43 ยท GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.15.2-3.fc44 ยท GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.16-1.fc44 ยท GPL-2.0-or-later
- nixos 26.05: alsa-utils 1.2.14
- nixpkgs unstable: alsa-utils 1.2.16
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 ยท GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 ยท GPL-2.0-or-later
- ubuntu noble: alsa-utils 1.2.9-1ubuntu5 ยท GPL-2.0-only
- ubuntu questing: alsa-utils 1.2.14-1ubuntu1
- ubuntu resolute: alsa-utils 1.2.15.2-1ubuntu1 ยท GPL-2.0-only
- ubuntu stonking: alsa-utils 1.2.15.2-1ubuntu2 ยท GPL-2.0-only
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms