HydrogenAudio

Lossy Audio Compression => MPC => Topic started by: jukkap on 2011-08-11 22:31:32

Title: ReplayGain storage
Post by: jukkap on 2011-08-11 22:31:32
I am currently building new Musepack plug-ins and I am wondering which is the preferred method of storing ReplayGain information to Musepack files ?

Store to Musepack format ?

or

Store to APE tag ?



Title: ReplayGain storage
Post by: Antonski on 2011-08-11 23:36:14
According to specification (http://trac.musepack.net/trac/wiki/SV8Specification), RG info must be stored in the file header. Every Musepack capable player that I've tried reads and writes RG in this way.
~~
Title: ReplayGain storage
Post by: jukkap on 2011-08-12 06:45:27
Thanks for pointing the Musepack wiki. I don't know why I did not see it earlier but it is lots of help. I will do both SV7 and SV8 and they both seem to have ReplayGain in the header.
Title: ReplayGain storage
Post by: Notat on 2011-08-12 15:10:04
The ReplayGain specification (http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_specification) suggests APEv2. Do we need to update/correct this?
Title: ReplayGain storage
Post by: MostlyHarmless on 2011-08-13 01:37:20
Musepack was the first (and only?) format with native ReplyGain support. Storing of ReplayGain info in tags seems to me as a workaround for older formats without native support.
Title: ReplayGain storage
Post by: saratoga on 2011-08-13 02:29:34
The ReplayGain specification (http://wiki.hydrogenaudio.org/index.php?title=ReplayGain_specification) suggests APEv2. Do we need to update/correct this?


It should probably be updated to mention that replaygain tags are used with ASF tags (in the Extended Content Description Object) with the VorbisGain method (basically just a text comment field that says "replaygain_track_gain", ...).

See for example:

http://svn.rockbox.org/viewvc.cgi?diff_for...;revision=15340 (http://svn.rockbox.org/viewvc.cgi?diff_format=l&view=rev&revision=15340)
Title: ReplayGain storage
Post by: Notat on 2011-08-13 22:14:45
Appreciated but that's not very accessible information so can't just be C-P'd into the RG spec. If you can suggest some replacement text for the RG spec, we can get this corrected more quickly.
Title: ReplayGain storage
Post by: saratoga on 2011-08-14 21:04:16
I added that it uses the Extended Content Description Object  with a ascii value key pair like Vorbis comments.  Might make sense to have Peter comment on it though, since AFAIK he came up with the standard.  We just looked at ASF files tagged with foobar2000 and copied it's convention.
Title: ReplayGain storage
Post by: Lear on 2011-08-14 22:02:59
http://svn.rockbox.org/viewvc.cgi?diff_for...;revision=15340 (http://svn.rockbox.org/viewvc.cgi?diff_format=l&view=rev&revision=15340)

He, I'd forgotten I did that...
Title: ReplayGain storage
Post by: Antonski on 2011-08-24 01:32:52
I am currently building new Musepack plug-ins ...


May I ask you what player(s) are they targeted?
As you can see in specification, there might be different RG values for every chapter.
~~