Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 7541  / 2 Years ago, thu, april 21, 2022, 10:05:50

When listening to music in Banshee or any other player, I always have to up the volume for certain songs and turn it back down for others because they don't have the same replay gain.




  • Is there an add-on which could normalise my songs in Banshee?

  • Or is there a program which could do this to whole of my music library?



I'm currently running Ubuntu 12.04 in case that has any effect on the answers.



Thanks in advance.


More From » sound

 Answers
1

I use a command line utility called mp3gain, which is available in the repositories.



To use it, go into the directory where you store your music files, and then run this command:



find -name '*mp3' -exec mp3gain -r -k {} ;


It will go through every subdirectory, finding any file ending with .mp3, and normalize the gain so that they will also play back at a consistent volume.



Also note that mp3gain won't act on files that are already within the range you want, so the second time you run it and thereafter, it won't take as long as the first time. So you can just run this command as is every time you add new files, whether its just one new file, or a whole bunch.



If you happen to have .ogg files, there is a similar program called vorbisgain:



find -name '*ogg' -exec vorbisgain -r {} ;


There are options for how you normalize the gain for any one song in comparison to the rest of the music you have, but it's been so long since I've looked at them I can't really say much about it. I just know that I play my entire library as one huge randomized collection, and the above comand and its settings has worked for me for years.



If you happen to have .flac files, you can use metaflac:



find -name '*flac' -exec metaflac --add-replay-gain {} ;


Hope that helps.


[#36680] Friday, April 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
variark

Total Points: 82
Total Questions: 114
Total Answers: 122

Location: Sweden
Member since Mon, May 8, 2023
1 Year ago
variark questions
Wed, Nov 3, 21, 13:30, 3 Years ago
Sun, Jan 8, 23, 16:05, 1 Year ago
Thu, Dec 15, 22, 02:10, 1 Year ago
Sun, Jun 26, 22, 12:20, 2 Years ago
Tue, Dec 14, 21, 15:40, 2 Years ago
;