Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Implementing ReplayGain (Read 3646 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Implementing ReplayGain

Maybe I'm just daft, but I can't find information anywhere on the ReplayGain site as to how to actually read ReplayGain data. I see the page on the data format, but I have no clue where it is actually stored. Tags? ID3, APE, what?

My best lead is looking at the MP3Gain source code. Can anyone offer some assistance? I'm using TagLib# for reading metadata.

 

Implementing ReplayGain

Reply #1
Maybe I'm just daft, but I can't find information anywhere on the ReplayGain site as to how to actually read ReplayGain data. I see the page on the data format, but I have no clue where it is actually stored. Tags? ID3, APE, what?


mp3 files:

There is an ID3v2 tag 'rgad' defined on the ReplayGain site, but as far as I know, no one has implemented them for MP3.

mp3gain uses APE v2 tags.

Foobar 2000 uses ID3v2 'TXXX' or APE v2 tags (depending on preferences configuration) with the same tag names as used in mp3gain.

LAME's storage of ReplayGain data is described in this post.

mp4/m4a/aac files:

AACGain uses '----' free-form metadata tags with the same names as the mp3gain tags. See the AACGain source code for more details.

Hope that helps...

Dave

Implementing ReplayGain

Reply #2
So basically there is little to no standard whatsoever on how this should be done. Fantastic.

It is useful information, thanks.