desbma / r128gain

Fast audio loudness scanner & tagger (ReplayGain v2 / R128)
GNU Lesser General Public License v2.1
170 stars 9 forks source link

A few enhancements? #2

Closed audiomuze closed 5 years ago

audiomuze commented 5 years ago

r128gain has been very useful in analysing and adding r128 loudness tags to my music, however, there are a few additional capabilities I think would be useful for consideration:

desbma commented 5 years ago
* add album dynamic range score calculated using R128

This can be done using FFmpeg's drmeter filter, or the ebur128 filter's LRA output value. Since theses values are not present in tags, and not exploited by audio players, this is out of the scope of this tool.

* add option to output summarised data per folder only: Album loudness, peak, dynamic range

* add ability to format data in CSV or other delimited format readily capable of import into a table

Out of curiosity, why would you want to do that? Anyway this can be done using a bit of scripting, for example if I assume you are on a Unix system: r128gain -d -a -r . 2>&1 | grep ^Album for the first one.

audiomuze commented 5 years ago

Out of curiosity, why would you want to do that?

It's useful when one has multiple releases of an album e.g. original release and subsequent remasters. Album loudness, peak, dynamic range would be useful in filtering out and removing those that are loudest and have least dynamics.

retrography commented 5 years ago

+1 for album replay gain.

desbma commented 5 years ago

Album gain has always been supported

retrography commented 5 years ago

Sorry, my bad, I didn't see the "-a" switch.