GNOME Bugzilla – Bug 403597
[API] Add ReplayGain reference level tag
Last modified: 2007-02-12 11:01:44 UTC
With the new FLAC, a new tag was invented to store the ReplayGain reference level. It maps to the vorbis comment field name "REPLAYGAIN_REFERENCE_LOUDNESS". I propose adding support for this tag alongside the other ReplayGain tags. The purpose of the tag is to put an end to the ambiguity that is inherent to the relative gain adjustment values. So in a sense, the invention of this tag comes 6 years too late, but hey! I'm attaching a patch to add the tag as GST_TAG_REFERENCE_LEVEL. I oppose taking over the "reference loudness" term used for the comment field name because doing so makes no sense; the ReplayGain proposed standard always uses the term "reference level" to refer to the 89 dB (back then 83 dB) target output level of the reference waveform. The term "reference loudness" is only used once (in the MATLAB script), where it refers to the result of the RG function (which is meaningless by itself). Another patch against gst-plugins-base will be attached that adds the new tag to gstvorbistag.c, which should enable support in all formats that use vorbis comments. As part of another bug, I'll add support for the tag to the element(s) that are part of the replaygain plugin.
Created attachment 81764 [details] [review] Add ReplayGain reference level tag
Created attachment 81765 [details] [review] Add vorbis comment mapping for ReplayGain reference level tag
Thanks, committed (added the missing 'Since:' bits to the doc chunk): 2007-02-09 Tim-Philipp Müller <tim at centricular dot net> Patch by: René Stadler <mail at renestadler de> * docs/gst/gstreamer-sections.txt: * gst/gsttaglist.c: (_gst_tag_initialize): * gst/gsttaglist.h: API: add GST_TAG_REFERENCE_LEVEL (#403597). 2007-02-12 Tim-Philipp Müller <tim at centricular dot net> Patch by: René Stadler <mail at renestadler de> * gst-libs/gst/tag/gstvorbistag.c: Add vorbis/FLAC-tag mapping for new GST_TAG_REFERENCE_LEVEL (#403597).