loudgain icon indicating copy to clipboard operation
loudgain copied to clipboard

How to fix Music files corrupted by taglib (.ogg) Bug

Open Lumipyry opened this issue 1 year ago • 3 comments

hi everyone, can someone please help me out.

I suspect my music collection got corrupted by the taglib bug in 2018 by using Loudgain to tag them.

Observed result: Music files added to the collection later have substantially higher loudness level - even if I run loudgain through the whole collection. (I do not know if the bug caused this behaviour - althought I used Loudgain just during the bug)

I have not found a single advice how to handle this. So, is there a way to fix this by using Loudgain or other Linux program?

I have - in a single linux directory - a collection of 16000 songs in .ogg-format, which I have carefully collected over the years and spent a lot of time getting album art and other song information to be correct.

My system is Debian 12 Bookworm and I have installed my current Loudgain from Debian repository with sudo apt install loudgain. I tried also building Loudgain but Debian gives a Cmake-error.

Lumipyry avatar Jan 07 '25 23:01 Lumipyry

loudgain development stalled a long time ago.

Try using rsgain to resolve the issue, but copy and paste a test audio file first.

If nothing works, ask the rsgain developer. They are very responsive.

As you're using Debian Bookworm, you need to manually install the binary package. Check the readme for the instructions. rsgain is included in Trixie by default.

hughmcmaster avatar Jan 26 '25 01:01 hughmcmaster

Tervehdys (Cheers) Hugh, My most humble thanks to you - You just brought sunshine to the dark Nordic winter - and saved my day!

Yours greatfully, Sami Saarinen MSc (eng) in Materials Science Suomi (Finland)

Lumipyry avatar Jan 26 '25 16:01 Lumipyry

I actually now found the loudgain command to remove Tags:

$ loudgain -s d *.ogg # remove ReplayGain tags from the files

in paragraph GETTING STARTED

Lumipyry avatar Jan 29 '25 13:01 Lumipyry