ALSAMIXER(1)

๐Ÿ“ฆ
version 1.2.16 ยท 2 versions
  • 1.2.16 ยท alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.2.8 ยท debian bookworm, ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ 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 ๐ŸŒˆ๐Ÿฆ‹