LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pulsemixer

CLI and TUI mixer for PulseAudio

TLDR

Launch TUI mixer
$ pulsemixer
copy
Get volume
$ pulsemixer --get-volume
copy
Set volume
$ pulsemixer --set-volume [50]
copy
Change volume by relative amount
$ pulsemixer --change-volume [+10]
copy
Change volume with a maximum cap
$ pulsemixer --change-volume [+10] --max-volume [100]
copy
Mute/unmute
$ pulsemixer --toggle-mute
copy
List sinks
$ pulsemixer --list-sinks
copy
Set volume on a specific sink
$ pulsemixer --id [sink-1] --set-volume [75]
copy

SYNOPSIS

pulsemixer [options]

DESCRIPTION

pulsemixer is a CLI and TUI mixer for PulseAudio. It provides both an interactive interface and command-line controls for managing audio volumes and routing.

PARAMETERS

--get-volume

Print current volume.
--set-volume n
Set volume (0-100).
--get-mute
Print mute status.
--toggle-mute
Toggle mute.
--mute
Mute.
--unmute
Unmute.
--list-sinks
List output devices.
--list-sources
List input devices.
--change-volume +-n
Change volume by a relative amount.
--set-volume-all n:n
Set volume for every channel separately.
--max-volume n
Cap volume at n when using --change-volume.
--id id
Target specific sink/source.
--server server
Connect to a specific PulseAudio server.
--color n
Colorize output (0=none, 1=selected, 2=full).
--no-mouse
Disable mouse support in TUI.
-l, --list
List all sinks, sources, and sink inputs.

EXAMPLES

$ # Interactive mode
pulsemixer

# Set to 75%
pulsemixer --set-volume 75

# Change specific sink
pulsemixer --id sink-1 --set-volume 50

# Toggle mute
pulsemixer --toggle-mute

# Get current volume
vol=$(pulsemixer --get-volume | cut -d' ' -f1)
copy

TUI KEYS

$ h/l, Left/Right  - Adjust volume
j/k, Up/Down     - Select
m                - Toggle mute
Space            - Lock/unlock channels
1-9, 0           - Set volume 10%-90%, 100%
Enter            - Context menu
F1/F2/F3         - Switch mode (output/input/cards)
q, Esc           - Quit
copy

CAVEATS

Requires PulseAudio. Also works with PipeWire's PulseAudio compatibility.

HISTORY

pulsemixer was created by GeorgeFilipkin as a convenient CLI/TUI for PulseAudio control.

SEE ALSO

pactl(1), pavucontrol(1), amixer(1)

Copied to clipboard
Kai