<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
As far as I know, R128 as ReplayGain isn't really considered final
yet (see
<a class="moz-txt-link-freetext" href="http://wiki.hydrogenaud.io/index.php?title=ReplayGain_2.0_specification">http://wiki.hydrogenaud.io/index.php?title=ReplayGain_2.0_specification</a>
for example), so it would probably be a bit early to update this in
the FLAC source.<br>
<br>
<div class="moz-cite-prefix">op 16-06-14 10:15, Olav Sunde schreef:<br>
</div>
<blockquote cite="mid:20140616081547.E77C86046E@nslu.sunde"
type="cite">
<font size="3">I mention metaflac because there are a few shell
scripts
that use it to write RG tags in a flac music library on Linux.
With
support for Ebu R128 gain in metaflac (the calculation according
to
specification, not an external program) it would be easy to use,
just
change the cmd line for metaflac in the script. Now that
metaflac
supports sample rates higher than 48kHz this would be a good
thing in my
view. Of course it would be nice to have this in flac too.<br>
<br>
As for R128GAIN, I've tried several versions but could not make
it work
on any of my Linux distros.<br>
libebur128 requires compiling. Unfortunately I am not a
programmer and I
never compile.<br>
<br>
I am aware that there are discussions on how to insert R128 tags
in place
of RG tags and make it work properly. I have used RG for a long
time, but
R128 tags does a better at adjusting perceived volume between
albums so I
prefer R128.<br>
<br>
I store music files on a Linux NAS and would like to perform
calculations
on the same box. With foobar2000 (or JRiver win) I'd have to do
this
across a Samba mount which is slow(ish)<br>
<br>
<br>
At 00:19 16.06.2014, you wrote:<br>
</font>
<blockquote type="cite" class="cite" cite=""><font size="3">Olav
Sunde wrote:<br>
<br>
> has anyone looked at adding R128gain code to metaflac so
we can
select<br>
> to use this calculation for RP tags rather than replay
gain?<br>
<br>
Why metaflac only? flac is also able to calculate RG values.<br>
<br>
And, as far as I can see R128GAIN
(<a moz-do-not-send="true"
href="http://r128gain.sourceforge.net/" eudora="autourl">
http://r128gain.sourceforge.net/</a>)<br>
is a standalone app, not a library. So probably it would be
difficult<br>
to reuse its code in flac/metaflac.<br>
<br>
There is also libebur128
(<a moz-do-not-send="true"
href="https://github.com/jiixyj/libebur128/"
eudora="autourl">
https://github.com/jiixyj/libebur128/</a>) -<br>
"libebur128 is a library that implements the EBU R 128
standard
for<br>
loudness normalisation. All source code is licensed under the
MIT
license";<br>
foobar2000 uses it to calculate ReplayGain values.<br>
<br>
<br>
<br>
The use of R128 also raises the question about
"REPLAYGAIN_REFERENCE_LOUDNESS"<br>
tag. Currently flac/metaflac writes
"REPLAYGAIN_REFERENCE_LOUDNESS=89.0 dB"<br>
but doesn't use it when decoding (it seems that nothing uses
this
tag).<br>
R128 defines reference level differently, so this tag makes
little sense
for it.<br>
IMHO it's better not to write this tag when (meta)flac uses
R128
algorithm.<br>
<br>
(David Robinson, the author of ReplayGain, thinks that such
tags are
useless:<br>
<a moz-do-not-send="true"
href="http://www.hydrogenaud.io/forums/index.php?s=&showtopic=67823&view=findpost&p=603622"
eudora="autourl">
http://www.hydrogenaud.io/forums/index.php?s=&showtopic=67823&view=findpost&p=603622</a>
)<br>
_______________________________________________<br>
flac-dev mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a><br>
<a moz-do-not-send="true"
href="http://lists.xiph.org/mailman/listinfo/flac-dev"
eudora="autourl">
http://lists.xiph.org/mailman/listinfo/flac-dev</a></font></blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
flac-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/flac-dev">http://lists.xiph.org/mailman/listinfo/flac-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>