====== 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 **NOTE:** See also http://slopjong.de/2011/08/20/unmute-the-sound-card-using-the-alsa-utils/ ---- ===== 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 ----