User Tools

Site Tools


ubuntu:sound:change_the_volume

Ubuntu - Sound - Change the volume

Using mp3gain

find / -iname '*.mp3' -exec /home/peter/Downloads/mp3gain/mp3gain -r -c -m 4 {} \;

Using Alsa

Control the volume using the alsa utils.

The volume of sound cards can be controlled with amixer.

amixer set -c 0 Master 25 unmute
amixer set -c 0 PCM 25 unmute

Using alsamixer

alsamixer

Save the settings.

sudo alsactl store

Using amixer and pactl

Increase volume

amixer set Master playback 5dB+
pactl set-sink-volume @DEFAULT_SINK@ +5%

Reduce volume

amixer set Master playback 5dB-
pactl set-sink-volume @DEFAULT_SINK@ -5%

Toggle mute/unmute volume

amixer -D pulse set Master toggle

ubuntu/sound/change_the_volume.txt · Last modified: 2022/10/11 12:13 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki