How to implement volume normalization

Normalization of volume in Spotify is a big issue when playing tracks from a playlist which contains songs from various albums.


This is how I think Spotify could implement normalization.

It's important that any normalization algorithm apply a homogenous amplification to the entire track, amplification should not vary throughout the song. I would always amplify as opposed to reduce to avoid any loss of detail in the song. Spotify should determine the peak volume of each track and apply amplification such that the peak volume of every track in Spotify is the same.

I'm guessing one of the key challenges is the processing involved in determining the peak volume of a song.

One strategy would be when there is CPU power available on the client, such as a desktop machine, if the song's peak volume has not been calculated, get the client to analyze the peak volume of the track as it is played. When the track has completed, get the client to post the peak volume of the track back to spotify. Spotify can then use this information to normalize volumes across all its tracks.

Finally there should be an option to switch on or disable volume normalization.

There should also be an option to disable normalization when playing an album.  I don't think any normalization algorithm should be applied when playing an album as that work should already have been done by the sound engineers who worked on the album.

Child Item
Status: Active
Child Item
Child Item
Child Item

Comments

Hi.
A similar idea already exist in the community:
http://community.spotify.com/t5/Spotify-Ideas/ReplayGain-Album-Mode-better-volume-normalization-method/idi-p/220712

Please add your kudos and support there.

As FredJ mentioned, a similar idea has also been suggested here:
http://community.spotify.com/t5/Spotify-Ideas/ReplayGain-Album-Mode-better-volume-normalization-meth...

 

Add your kudos and comments there please!

Child Item
Child Item