Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In different audio sources the level of sounds are different. It's very annoying to set the level of sound on almost every media content. Sometimes, when before you had something quiet, you had to adjust it more louder and after some time you want to play another media - bang! it unexpectedly breaks your headphones, the sound is so loud!

So, is there some plugin/feature which can automatically adjust the level of sound on every media content?

share|improve this question
up vote 20 down vote accepted

Adjusting sound level with a LADSPA plugin

To obtain a fairly normalized sound output level independent of the input level we may use an LADSPA-pugin to filter the sound output through pulseaudio.

As a minimum we need a compressor plugin such as the dysonCompressor from the swh-plugins Install swh-plugins which need to be installed if not yet present.

After having found out the name of our default sink with

pacmd list-sinks

and the exact name of the plugin as it is stored in /usr/lib/ladspa/ (with my system here dyson_compress_1403) we can issue the following command

pacmd load-module module-ladspa-sink sink_name=ladspa_sink master=<alsa_output> plugin=dyson_compress_1403 label=dysonCompress control=0,1,0.5,0.99

Replace <alsa_output> with the exact name of the output sink (in my system this was alsa_output.pci-0000_00_14.2.analog-stereo).

The compressed output can now be listened on the newly created output sink ladspa_sink accessible from the Sound Settings menu.

enter image description here

Control settings for the compressor plugin are as follows: peak limit, release time, fast ratio, ratio. See in the plugin documentation for more details, defaults and minimal resp maximal values for these controls.

To avoid clipping of playback we may also combine this plugin with a limiter after compression. We may use the fast_lookahead_limiter for this with the master sink being now our just created lasdpa_sink from above:

pacmd load-module module-ladspa-sink sink_name=ladspa_normalized master=ladspa_sink plugin=fast_lookahead_limiter_1913 label=fastLookaheadLimiter control=10,0,0.8

Source: settings above were adapted to pulseaudio from brien's blog on miscfits

share|improve this answer

Sorry, at present you cannot do this in Ubuntu. Having the output always be at one level is called volume normalization. There is a program called volume-normalizer for Ubuntu that will convert individual and batch convert audio files (mp3, ogg, etc.) to all be at the same volume. VLC also has a built-in volume normalizer that will normalize the tracks without the need to convert them. To accomplish the task of normalizing audio in Ubuntu, a plugin would have to be made for pulseaudio. There is currently an Ubuntu Brainstorm thread on this, see idea #17387. So, you can normalize the volume of audio files in Ubuntu but not normailize the output of the whole computer. Sorry.

share|improve this answer

Volume normalization is present in SMPlayer. Goto software center and download this awesome player, then enable volume normalization under audio options :)

share|improve this answer

Earlier I was also having audio normalization issues while playing movies on my VLC media player but few searches over Internet I was able to find a perfect solution for this and I have shared it below so that you can also benefit from it....

Audio Normalization VLC Fix / Audio Out of Sync VLC Fix

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Kevin Bowen Jan 25 at 23:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.