Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bs1770gain #452

Open
adrian-bl opened this issue Oct 16, 2016 · 5 comments
Open

Support bs1770gain #452

adrian-bl opened this issue Oct 16, 2016 · 5 comments
Milestone

Comments

@adrian-bl
Copy link
Member

We should verify that we are compatible with tags written by http://bs1770gain.sourceforge.net/ - R128 is currently only supported in Opus files, but we should probably improve our support

@hboetes
Copy link

hboetes commented Oct 17, 2016

For reference, the tags created by metaflac:

% metaflac --export-tags-to=- *01*|grep replay
replaygain_reference_loudness=89.0 dB
replaygain_album_gain=-7.58 dB
replaygain_track_peak=0.95639038
replaygain_track_gain=-6.81 dB
replaygain_album_peak=0.96929932

And the tags created by bs1770gain:

% metaflac –export-tags-to=- *01*|grep -i replay
REPLAYGAIN_ALGORITHM=ITU-R BS.1770
REPLAYGAIN_REFERENCE_LOUDNESS=-23.00
REPLAYGAIN_TRACK_GAIN=-10.31 LU
REPLAYGAIN_ALBUM_GAIN=-10.29 LU

@adrian-bl adrian-bl added this to the 1.0.46 milestone Oct 23, 2016
@adrian-bl adrian-bl modified the milestones: 1.0.52, 1.0.46 Feb 12, 2017
@adrian-bl adrian-bl modified the milestones: 1.1.00, 1.0.52 Apr 24, 2017
@breversa
Copy link

Also, what about a plugin to calculate bs1770gain ? I know of no such tool on Android...

@mathstuf
Copy link
Contributor

That seems like a deal for a separate app or just do it on a PC to me. AFAIK, Vanilla doesn't write any replaygain tags for any format.

@averms
Copy link

averms commented Nov 7, 2020

I haven't looked into this bs1770gain software but looking at the above comment
it seems that the tags created by bs1770gain aren't actually compatible with
either Replaygain v1 or v2. I'm not a contributor but, as a user, I don't see the point in adding this functionality.

There are plenty of programs one can use instead of bs1770gain that follow the
Replaygain v2 spec:

@breversa
Copy link

breversa commented Nov 7, 2020

On the contrary, I'm pretty certain that bs1770gain uses standard Replaygain tags. :)

For instance :

    comment[17]: REPLAYGAIN_ALBUM_GAIN=-15.7 dB
    comment[18]: REPLAYGAIN_ALGORITHM=BS.1770
    comment[19]: REPLAYGAIN_REFERENCE_LOUDNESS=-23.0 dBFS
    comment[20]: REPLAYGAIN_TRACK_GAIN=-15.7 dB

Also, regarding the other mentionned tools :

  • r128gain : I thought development was abandoned. I'm happy to see it's not. Thanks !
  • loudgain : I didn't know about it but it seems very well documented. I'll definitely have a look into it !
  • loudness-scanner : latest release is from 2013. That's what I called abandoned.
  • Foobar2000 : is a full-fledged audio player.

Though they probably do the job well, I'd love (as quality of life) to be able to use the same app (Vanilla Music) to both calculate the bs1770gain (once) and then read the tags.

Typical use case : I discover a new artist on Bandcamp while on the go, dowload their music on my smartphone, but alas no volume normalization. :( I need to get to a computer, copy/download the files, calculate the gain (using whatever tool), then copy them back to my phone.

  • Is it doable ? Yes.
  • Is it tedious ? Yes. :-(
  • Would an option in Vanilla Music to calculate the gain make my life easier ? Yes. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants