Moonbase59 / loudgain

ReplayGain 2.0 loudness normalizer based on the EBU R128/ITU BS.1770 standard (-18 LUFS, FLAC, Ogg, MP2, MP3, MP4, M4A, AAC, ALAC, Opus, ASF, WMA, WAV, AIFF, WavPack, APE)
Other
182 stars 23 forks source link

Optio to apply gain #19

Open Eduardo-EazyEZ opened 4 years ago

Eduardo-EazyEZ commented 4 years ago

I would like to kindly ask for an optional option to apply either Album-Gain or Track-Gain to the annalysed files.

Because of 3 reasons. 1st On mobile I have found only few media players to support Replay-Gain, I know foobar2k does, but it doesn't play along mi headphones (<20 US$ ones) 2nd If I have to rely on the player's setting I have to switch every time I listen to an album or a playlist. I know I can have one player for albums and another one for playlists, but still... 3rd Isn't Linux about choice? Where would be the harm in some people choosing not to alter the files aside the Replay-Gain tag and others applying the gain losslessly and just alter the Volume tag like mp3gain is able to do?

Thank you so much for reading and thanks for an either way (almost ;) ) completely awesome application. Cheers.

Moonbase59 commented 4 years ago

Thanks for leaving feedback, and glad you like loudgain!

loudgain is based on the main philosophy to never touch the actual audio data. That is why it analyzes and stores replaygain data only, and leaves the selection to the user (player): Don’t use replay gain, use album gain, or use track gain.

I know that might pose problems with very old players, and some older applications (I even had to modify the ices streamer to handle replay gain), but I think it’s the way to go. Also, actually modifying the audio data for the many file formats loudgain nowadays supports would introduce a whole lot of new programming and difficulties, and it could in most cases not be done losslessly.

So loudgain will probably never support modifying the audio data, sorry. After all, it should help users enjoying their music better, not making it worse by doing non-lossless alterations.

Nevertheless, I’m sure a ffmpeg script could be written that would take loudgain’s replaygain and peak measurements and apply them to files, if so desired.