How to use EBU R128?
-
Strawberry 1.0.20, just released, has support for EBU R128 volume normalization. How is this executed? I can find no menu items for something like "analyze tracks" or "normalize" tracks. Is it implemented "on-the-fly" somehow, without writing tags?
My collection started out on Apple iTunes, using their iTunNORM tags. Later, I used MusicBee on Windows and applied its ReplayGain tags (which, apparently, used the EBU R128 standard, but at -18 LUFS instead of -23 LUFS). Those tags are written to the files as "replaygain_track_gain" and "replaygain_album_gain".
I have been using Strawberry's "Use Replay Gain metadata...", selected in settings.
I was hoping this new feature would allow Strawberry to apply EBU R128 normalization so I wouldn't have to use other software to do it.
I am on Linux Mint 21.2 Cinnamon, using Strawberry 1.0.20, with Qt version 6.2.4.
Can someone please advise -- explain how to use the new EBU R128 feature?
-
@silver-sun
For the ebur128 features to be visible in the settings, Strawberry needs to be built with libebur128. Most Linux distributions that I know have this library in their repository, there is no reason not build with it.
There is a setting in the collection settings for "Perform song EBU R 128 anlysis", once that is checked and settings are applied, do a full collection rescan, ebur128 data should then be added to the database for each song.
To use the feature, you enable the "EBU 128 Loudness normalization" in the backend settings. -
@jonas
"Strawberry needs to be built with libebur128."Does this mean the only way to implement EBU R128 is to compile Strawberry from source?
I did not have the libebur128 package installed, but it was in the Linux Mint repository, so I installed it. But still no mention of "Perform song EBU R 128 analysis" in settings.
I don't have the skills to compile software yet; still learning. I installed Strawberry from the PPA posted on your website. I also tried installing the Flatpak version (of 1.0.20), which, to my understanding, should take care of all dependencies; but I found no mention of "Perform...analysis" there either.
I must be misunderstanding something. Grateful if you could enlighten me. Thank you for your prompt reply to my question.
-
@silver-sun
Early builds of 1.0.20 missed the ebur128 dependency. A PPA build on or after 26th Sep should be OK. The Debian version is built with ebur128, but I have no idea if it will install on Mint. (It might).
https://packages.debian.org/unstable/strawberryDownloads at the bottom of the page.
-
@PeterB
Ah, that explains it. Thanks for the clarification. I will wait until the PPA and other releases catch up. In the meantime, I can always try that Debian package just to satisfy my curiosity.Eagerly awaiting this new feature!
One thing I'm curious about is whether it will write yet another set of tags, specific to EBU R128; or will it overwrite the existing ReplayGain tags (created previously by MusicBee).
-
@silver-sun
The PPA for 1.0.20 wasn't enabled with EBU R128 volume normalization, because I forgot to add libebur128 to the debian control file before the day after the release. It will have it on the next release.
In the meantime you can use the downloads from the website, it has it enabled.
Linux Mint is based on Ubuntu, not debian so the debian packages are not likely to work, use the equivalent Ubuntu package. -
@jonas
My curiosity got the best of me, so I installed Ubuntu 22.04 "Jammy" (x86_64) from the Strawberry website. Sure enough, all the settings for EBU R128 were properly displayed. I experimented with applying the feature to a small test library.I then opened the songs in the Kid3-qt tag editor, where I observed that no EBU R128 tags were written. My main library has ReplayGain tags (from MusicBee) and iTunNORM tags (from iTunes), so I was expecting some new tag to appear for EBU R128.
I then opened the strawberry.db database and observed that the EBU R128 info was recorded there.
Does this mean that the normalization will only work within Strawberry? It would seem so.
I don't know enough about EBU R128 to know if there is a tagging standard for that type of normalization. Is there? And if so, are there any plans to incorporate those tags into Strawberry?
-
@silver-sun
The EBU R128 info is only added to the database, I don't think there are tags for them. -
Hello everyone.
I have Strawberry version 1.0.23 installed on Mint Linux Mint 21.3 Cinnamon (Cinnamon version 6.0.4 / kernel 5.15.0-101) and I've been using for quite a while without any problem.
I just have a question regarding the EBU R128 feature.
I have enabled it a while ago and ran a full scan of my collection and it's been working fine since then.
All my mp3s are stored at /mtn/3T/mp3 in hundreds of subfolders and it would usually take about 24 hours to run a full rescan.I have noticed that when I add new mp3s on the above folder, although they are added to the collection every time strawberry starts (or when I run tools>update changed collection folders) their EBU loudness tag is not updated. For the new mp3s, if go to track information from the playlist the EBU tag is not specified:
EBU R 128 integrated loudness "unknown"
EBU R128 loudness range "unknown"
and I need to run a full rescan for this to be fixed.
Is there a workaround for this?I attach screenshots.
-
@sotos666
Perhaps enable "Monitor the collection for changes" in the settings? I see it is not checked in your screenshot. This is just a guess, though.I have chosen to go the traditional route of replaygain tags, as that is what I had been using before I started with Strawberry. So I don't have a lot of experience with the EBU R 128 feature.
Just a point of clarification, as was pointed out in a previous post, the EBU R 128 system, as it is applied in Strawberry, does not actually write tags, but rather places the info in the Strawberry database. All the same, the info should be incorporated into the player, as you have stated.
I hope it's as simple as checking the box. Good luck!
-
@silver-sun Thanks for the reply.
I've already tried that option but it didn't do the job about the EBU. By the way, I keep it unchecked because Strawberry becomes unresponsive for 1-2 seconds when it detects changes and begins to scan.
I'm also using the replay gain (often using the "Ex Falso" app to scan mp3s and write the replay gain tags), I just wanted to test the EBU R 128 feature out of curiosity.