rsgain icon indicating copy to clipboard operation
rsgain copied to clipboard

[BUG]: Picard plugin unable to normalize volume

Open MRodneyMcKay opened this issue 1 year ago • 5 comments

The Picard plugin was unable to determine the correct replaygain tags for high Res classical music. Foobar worked very nicely though. Foobar downsampled the audio, so only it worked with audible frequencies. Is it possible, that it is missing from this and that is the reason, replaygain failed?

MRodneyMcKay avatar May 16 '24 20:05 MRodneyMcKay

Can you explain exactly how it's not working? Are you getting error messages? etc.

Also, if you can upload a sample file, that may help in the diagnosis.

complexlogic avatar May 17 '24 01:05 complexlogic

I do not think uploading is such a viable idea, since it would mean uploading 2 copyrighted albums. In picard, i have configured the replaygain 2.0 plugin with the ebu r128 specs, loaded up my whole library and run the plugin. I have set up mpd to use album replaygain tags, and it the collection was normalized at all, the difference in volume was waaay bigger, than it sould have. Here are the tags calculated by rsgain tag name Forthnight Mozart flute replaygain_album_gain -13.39 dB -14.42 dB
replaygain_album_peak 1.413871 1.224665 replaygain_track_gain -12.81 dB -5.00 dB replaygain_track_peak 1.041744 0.910073

Here are the tags calculated by foobar, downsampling, discarding non audible frquencies tag name Fortnight Mozart flute replaygain_album_gain -8,28 dB +0.66 dB
replaygain_album_peak 1.123939 0.994838 replaygain_track_gain -7.79 dB +0.05 dB replaygain_track_peak 1.031543 0.927278

With Foobar's calcuation, the replaygain works as intended, every album is the sameish volume-wise (mainting the volume differences between tracks within the album)

MRodneyMcKay avatar May 17 '24 12:05 MRodneyMcKay

I don't understand why the tags have 2 values.

complexlogic avatar May 17 '24 13:05 complexlogic

From the whole library, i will show 2 tracks, and the different replaygain values.

This table shows the replygain values generated by rsgain/picard. These values do not work, they do not normalize the value. With this, Taylor swift is considerably louder, than the flute + piano duo.

tag name Taylor Swift Pahud - classical
replaygain_album_gain -13.39 dB -14.42 dB
replaygain_album_peak 1.413871 1.224665
replaygain_track_gain -12.81 dB -5.00 dB
replaygain_track_peak 1.041744 0.910073

This table shows the good values, generated by foobar. These values do actualy normalize the volume

tag name Taylor Swift Pahud - classical
replaygain_album_gain -8,28 dB +0.66 dB
replaygain_album_peak 1.123939 0.994838
replaygain_track_gain -7.79 dB +0.05 dB
replaygain_track_peak 1.031543 0.927278

File size is too big, cannot attach directly, so here is a link: https://drive.google.com/file/d/1P0DTsqhDA347Devo5uFgDd_sXAVRKwxC/view?usp=sharing

MRodneyMcKay avatar May 17 '24 14:05 MRodneyMcKay

Thank you so much for taking care of the issue

MRodneyMcKay avatar Apr 01 '25 18:04 MRodneyMcKay