dbry / WavPack

WavPack encode/decode library, command-line programs, and several plugins
BSD 3-Clause "New" or "Revised" License
346 stars 65 forks source link

[Question] What is the difference between the replaygain caculation implements of foobar2000 and wvgain ? #109

Closed 2ji3150 closed 2 years ago

2ji3150 commented 2 years ago

Hi David, I'm going to process all my big music library with relaygain. Since my music files are all WavPack. ( yeah! the most awesome music codec! ) Just not sure which should I use. ( foobar2000 / wvgain )

After some research. I only know that relaygain will cacaulate the peak and normalize the volume to around 89db in track mode.

Would the caculation results be the same? ( Are the impletation follow same standard or something?) Do you have any suggestion? Thanks a lot!

dbry commented 2 years ago

Thanks for the kind words about WavPack!

The calculation results between Foobar2000 and WvGain were originally very close when we both used the original ReplayGain algorithm. I think now that Foobar2000 uses the newer R128 method and I never switched over to that because I didn't really want another library dependency (and didn't want to rewrite it either like I did the original).

So now they may produce somewhat different results on some files. I would just stick with the version in Foobar2000. For one thing it should be faster because it uses multiple cores when scanning, but also the newer algorithms are supposedly better at estimating loudness (although it is somewhat subjective).

Good luck!

2ji3150 commented 2 years ago

Thanks for the simple and clear reply ! Appreciate!