HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: jimmanningjr on 2010-09-03 02:57:22

Title: Does Replay gain work differtly in Media monkey
Post by: jimmanningjr on 2010-09-03 02:57:22
Hey Anyone,
For the past 2 years I have been using Media Monkey to Organize and play my music collection which is now about 42,000 tracks about 75% of my collection has Replay gain Values....I am making the switch over to Foobar2000 and was about to replay gain the other 25% with it (Foobar) when I discovered that for the same album I was getting 2 different values...and it is making me wonder does Media Monkey use a different algorithm or is there something I am overlooking...both are set to tag by ALBUM with the track value put in there also.  Here are my results: 

Miles Davis /Jack Johnson Soundtrack/     
Trk1 Right Off -FOOBAR--Album Gain -1.97db Trk Gain -2.49db
Trk 2 Yesternow-FOOBAR Album Gain -1.97db Trk Gain -0.87db

Trk 1 Right Off Media monkey--Album Vol=-7.9db Trk Vol= -8.4db
Trk 2 Yesternow Media Monkey--Album Vol= -7.9db Trk Vol= - 6.8db

Could someone shed some light on this for me.
Thank You
Title: Does Replay gain work differtly in Media monkey
Post by: klonuo on 2010-09-03 03:06:39
perhaps your MM target level is set on 89-6 dB

Edit: changed + to -
Title: Does Replay gain work differtly in Media monkey
Post by: jimmanningjr on 2010-09-03 06:20:07
perhaps your MM target level is set on 89-6 dB

Edit: changed + to -


No both are at -89dbs.....ho how I wish it was that easy
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-03 10:43:42
It certainly looks like a 6dB offset you're seeing there. Sorry to state the obvious without offering a solution, but I've never used Media Monkey.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: krabapple on 2010-09-04 04:27:44
Hey Anyone,
For the past 2 years I have been using Media Monkey to Organize and play my music collection which is now about 42,000 tracks about 75% of my collection has Replay gain Values....I am making the switch over to Foobar2000 and was about to replay gain the other 25% with it (Foobar) when I discovered that for the same album I was getting 2 different values...and it is making me wonder does Media Monkey use a different algorithm or is there something I am overlooking...both are set to tag by ALBUM with the track value put in there also.  Here are my results: 

Miles Davis /Jack Johnson Soundtrack/     
Trk1 Right Off -FOOBAR--Album Gain -1.97db Trk Gain -2.49db
Trk 2 Yesternow-FOOBAR Album Gain -1.97db Trk Gain -0.87db

Trk 1 Right Off Media monkey--Album Vol=-7.9db Trk Vol= -8.4db
Trk 2 Yesternow Media Monkey--Album Vol= -7.9db Trk Vol= - 6.8db

Could someone shed some light on this for me.
Thank You



Is this the first CD issue, or the 2007 one (which is HDCD encoded)?


Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-04 17:34:51
I've seen this too and was wondering if it is a Replay Gain thing or a Media Monkey thing. Seems like it's a Replay Gain thing.

Replay Gain reports a gain compensation number. This number depends on how much headroom you want to give your system to reproduce quiet but dynamic material. Originally, the standard called for a "83 dB" reference which I gather is with respect to an unconventional 0 to 96 dB scale for 16-bit audio. Most systems (bowing to the loudness war?) now implement a 89 dB reference by default. Many systems allow you to adjust the reference.

The 89 dB reference works well for popular music produced or mastered within the last 15-20 years. A lower reference is required to accommodate the dynamic range of older recordings and other generes. I personally use a 85 dB reference. The gain compensation numbers reported on my system are different than what people using an 89 dB reference report.

I've just had a look at the Replay Gain specification and find that three numbers are stored as meta data in sound files: peak level, radio (track) gain compensation, audiophile (album) gain compensation.

This means that the reference setting is only comes into play when the file is initially scanned. If I copy a file that was scanned on my (85 dB) system to a system set for an 89 dB reference, it's going to play back at the wrong (lower) level with respect to any files that have been scanned by this second system.

If I'm understanding it correctly, interoperability wise, this seems a bit broken. Wouldn't it be better to store: peak level, perceived track level, perceived album level and then compute the gain compensation immediately prior to playback based on the system's reference setting?
Title: Does Replay gain work differtly in Media monkey
Post by: greynol on 2010-09-04 17:45:40
There is REPLAYGAIN_REFERENCE_LEVEL which was initiated by Josh Coalson.
http://www.hydrogenaudio.org/forums/index....showtopic=46245 (http://www.hydrogenaudio.org/forums/index.php?showtopic=46245)

David touched upon this just yesterday saying it was a bad idea:
http://www.hydrogenaudio.org/forums/index....st&p=721226 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=71154&view=findpost&p=721226)

I have to agree.  Notat, by using numbers against your ad-hoc reference, it is you who has broken replaygain.

Take this from someone who normalizes everything to 92dB prior to encoding.  If you were to scan my collection you would see that my album gain would be -3dB.  Playing these albums back in a RG-compliant player would bring the level down so they play at the standard reference of 89dB.  If you wish to use something else you use a preamp setting.  If you're worried about clipping with dynamic music, use the option that gives you clipping prevention.  If your player doesn't provide these options then request that they get added or find one that does.

More links on the matter:
http://www.hydrogenaudio.org/forums/index....showtopic=67823 (http://www.hydrogenaudio.org/forums/index.php?showtopic=67823)
http://www.hydrogenaudio.org/forums/index....showtopic=76562 (http://www.hydrogenaudio.org/forums/index.php?showtopic=76562)

My take on this discussion is that MM has been unknowingly configured to give a different result, MM has a broken implementation (which I doubt), or apples are being compared with oranges because of different masterings or possible differences in HDCD decoding (as krabapple is alluding).
Title: Does Replay gain work differtly in Media monkey
Post by: jimmanningjr on 2010-09-04 20:15:18
There is REPLAYGAIN_REFERENCE_LEVEL which was initiated by Josh Coalson.
http://www.hydrogenaudio.org/forums/index....showtopic=46245 (http://www.hydrogenaudio.org/forums/index.php?showtopic=46245)

David touched upon this just yesterday saying it was a bad idea:
http://www.hydrogenaudio.org/forums/index....st&p=721226 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=71154&view=findpost&p=721226)

I have to agree.  Notat, by using numbers against your ad-hoc reference, it is you who has broken replaygain.

Take this from someone who normalizes everything to 92dB prior to encoding.  If you were to scan my collection you would see that my album gain would be -3dB.  Playing these albums back in a RG-compliant player would bring the level down so they play at the standard reference of 89dB.  If you wish to use something else you use a preamp setting.  If you're worried about clipping with dynamic music, use the option that gives you clipping prevention.  If your player doesn't provide these options then request that they get added or find one that does.

More links on the matter:
http://www.hydrogenaudio.org/forums/index....showtopic=67823 (http://www.hydrogenaudio.org/forums/index.php?showtopic=67823)
http://www.hydrogenaudio.org/forums/index....showtopic=76562 (http://www.hydrogenaudio.org/forums/index.php?showtopic=76562)

My take on this discussion is that MM has been unknowingly configured to give a different result, MM has a broken implementation (which I doubt), or apples are being compared with oranges because of different masterings or possible differences in HDCD decoding (as krabapple is alluding).

Well I just found out that "Sound track to the film Jack Johnson" is one of those HDCD's that is HDCD but they don't tell you like "TIME OUT" by Brubeck...both on Columbia Legacy HMMMMMMM......!!! That explains the -6db  ..But I am also sure that I have had others come back with a differing level... I do not have the time right now to test and post the results...I will try to get to that later today...
Thanks for everyones interest..not a day goes by that I don't learn some thing new on this forum.
Title: Does Replay gain work differtly in Media monkey
Post by: Alex B on 2010-09-05 19:36:45
Assuming you want to have universally compatible replay gain tags I'd recommend to analyze the files for replay gain without having the HDCD component installed in foobar.

IMHO, the only technically correct solution would be to create a system that would analyze and store a set of alternative replaygain tags for HDCD decoding and make HDCD decoder & foobar to use these alternative tags when the files are played.

Here are links to my recent related posts:
http://www.hydrogenaudio.org/forums/index....st&p=715949 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=79427&view=findpost&p=715949)
http://www.hydrogenaudio.org/forums/index....st&p=718215 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=82898&view=findpost&p=718215)
http://www.hydrogenaudio.org/forums/index....st&p=718259 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=82898&view=findpost&p=718259)
http://www.hydrogenaudio.org/forums/index....st&p=718327 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=82898&view=findpost&p=718327)
http://www.hydrogenaudio.org/forums/index....st&p=721098 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=79427&view=findpost&p=721098)
http://www.hydrogenaudio.org/forums/index....st&p=721144 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=79427&view=findpost&p=721144)
Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-06 03:16:29
Notat, by using numbers against your ad-hoc reference, it is you who has broken replaygain.

Take this from someone who normalizes everything to 92dB prior to encoding.  If you were to scan my collection you would see that my album gain would be -3dB.  Playing these albums back in a RG-compliant player would bring the level down so they play at the standard reference of 89dB.  If you wish to use something else you use a preamp setting.  If you're worried about clipping with dynamic music, use the option that gives you clipping prevention.  If your player doesn't provide these options then request that they get added or find one that does.

My take on this discussion is that MM has been unknowingly configured to give a different result, MM has a broken implementation (which I doubt), or apples are being compared with oranges because of different masterings or possible differences in HDCD decoding (as krabapple is alluding).

MediaMonkey does not have a preamp setting. MediaMonkey does have clipping prevention. I'd like not to have to use clipping prevention because my understanding is that it lowers the gain of a track to prevent clipping. The tracks subject to this will not clip but they will be played at a noticeably lower level.

I guess I was trying to work around lack of a preamp setting by setting a different target volume. It does seem to work. What I don't understand about your comments is that if I have broken RG by using a non-standard target, why allow the target adjustable. MM is not the only application that allows you to adjust this. MM help system does not explain this setting and I don't see anything authoritative on the issue on the MM forms.

Can someone explain what this configuration does exactly?
Title: Does Replay gain work differtly in Media monkey
Post by: greynol on 2010-09-06 04:36:26
I'd like not to have to use clipping prevention because my understanding is that it lowers the gain of a track to prevent clipping.
I thought this was exactly what you wanted to accomplish, or is there a problem with not being able to lower the playback volume of all the tracks so that the track with the loudest track does not clip?

MM is not the only application that allows you to adjust this.
With the exception of MP3Gain (which also provides for clipping prention) can you list some of the others?

I'd like to see if David's opinion regarding whether RG is a bit broken and/or how MM has implemented it.
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-06 11:02:19
I've downloaded Media Monkey for the first time ever this morning, and tried to figure out what it's doing.

Firstly, AFAICT, I can't make it write a REPLAYGAIN_REFERENCE_LEVEL tag. Has anyone actually seen this program generate these tags? If so, how/when/why?

Secondly, it doesn't call its implementation "ReplayGain" or use any of the conventional names for ReplayGain-related funcationality. However, it clearly credits Glen Sawyer for mp3gain and myself for ReplayGain. The documentation states that MM's volume levelling is ReplayGain...
Quote
MediaMonkey supports Replay Gain analysis and playback (via 'Analyze Volume' and 'Level Playback Volume').
from http://www.mediamonkey.com/support/index.p...ownloaditemid=2 (http://www.mediamonkey.com/support/index.php?_m=downloads&_a=downloadfile&downloaditemid=2)

In MM, the right-click context menu includes "Analyze volume", which seems to perform a standard ReplayGain scan and store the result in standard tags. (Note: there are settings elsewhere that will affect the whether the Album value is calculated)

The right-click context menu also includes "Level Track Volume", which seems to perform a standard mp3gain-style change to the audio data itself.

In MM, if you go to Tools, Options, Player, Volume Levelling, you will find the following settings:

Target volume level for Playback: This is a pre-amp, but instead of 0dB for "no change from ReplayGain default", it says explicitly 89dB (which is the ReplayGain default). If you change it to 90dB, that's the same as +1dB in fb2k. If you change it to 87dB, that's the same as -1dB in fb2k. etc. Just add or subtract 89dB to transform to/from the more common choice of number. The same is true for all the values discussed below.

checkbox: Level playback volume: enable or disable ReplayGain during playback
per Track / per Album: use Track or Album ReplayGain values

Target volume for leveling(sic) tracks: The target volume when using the mp3gain-style function to change the audio data itself.

Target Volume Level for Ripping Audio CDs: This is the level used if you ask the ripper to volume level the tracks. (the tooltip is completely wrong!)
Level Ripped Tracks: per track / per album: use Track or Album ReplayGain values

checkbox: Clipping Prevention: This enables clipping prevention during playback, and when ripping CDs with volume levelling, but not when applying a gain change to a file AFAICT.

There's one issue that could cause unexpected problems - the mp3 encoding and decoding pipelines don't allow for values greater than 0dB. This means...
1. If you choose settings that clip the audio when ripping with volume levelling enabled, that's it - the clipping is hard coded into audio data of the mp3s. You can't remove it later by lowering the level. You'll have to re-rip from the original CD.
(If you enable clipping prevention, then tracks that would have been clipped will just be peak normalised instead)
2. If there are sample values over 0dB "within" the mp3 file (e.g. due to normal lossy encoding of loud CDs, or CDs that you make loud by enabling volume levelling, or due to using mp3gain-like procesisng to apply a positive gain change to an mp3 file), these will get clipped during playback. It doesn't matter if you turn clipping prevention on. It doesn't matter if the ReplayGain values cause the files to be turned down anyway. The audio will still get clipped - it'll then get turned down after it's been clipped!
3. The ReplayGain_track_peak and _album_peak values written by MM for mp3 files will be incorrect if the audio data "within" the mp3 peaks above 0dB FS. It'll stored any values over 1.0 as 1.0, so no software will know these files are clipped.

If you rip with volume levelling enabled, it'll write a ReplayGain_track_gain tag (only - no peak tag). If Clipping Prevention was enabled when ripping, this tag could be completely wrong - MM seems to store a value that might have been right if clipping prevention hadn't been enabled. MM seems to ignore these tags, but some other players read them, giving unwanted results (e.g. desperately quiet audio).


So, lots of things to nit-pick over, but in terms of its implementation of a pre-amp and the possibility that it may use non-standard tags, MM is actually pretty standard, even if on the surface it uses different names for everything.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-06 22:49:05
I'd like not to have to use clipping prevention because my understanding is that it lowers the gain of a track to prevent clipping.
I thought this was exactly what you wanted to accomplish, or is there a problem with not being able to lower the playback volume of all the tracks so that the track with the loudest track does not clip?

What I want is for all tracks to have the same playback level. I don't want tracks with more dynamics to be played back at a lower level and I don't want them to be clipped. I'm happy to always run my DAC at a lower output level to accomplish this (and make up for it with more analog gain).
Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-06 23:02:10
So, lots of things to nit-pick over, but in terms of its implementation of a pre-amp and the possibility that it may use non-standard tags, MM is actually pretty standard, even if on the surface it uses different names for everything.

David, thanks for taking the time to look at this. The things you found could explain some unexpected behaviors I've seen. However, I don't think anything I've posted here pertains to the hazards you've exposed. Some of the larger issues are still open as far as I'm concerned.

Should Replay Gain implementations allow users to customize the target volume?

Do you expect there be interoperability problems if users using different target volume settings share files with one another?

Does adjusting the target volume downwards afford one more headroom to accommodate a greater variation in apparent loudness (i.e. solve the problem I describe in my previous post)?

If so, is adjusting the target the best way to accomplish this or are implementations expected to have a preamp gain setting like we see in FB2000?
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-07 09:37:35
Notat,

Maybe I didn't make it clear, so let me do so - apart from the bugs, MM isn't doing anything different from fb2k.

If you use ReplayGain via tags (i.e. don't alter the audio itself), MM writes absolutely standard tags referenced to the standard 89dB level, and thankfully there is nothing you can do to change this. "Target volume level for Playback" is a pre-amp applied at playback. Nothing more. It doesn't affect the tags.

If you choose to apply the ReplayGain change to the files (i.e. alter the audio itself, like wavgain or mp3gain etc etc), then it lets you specify the target level - just as mp3gain has done from the very beginning.


So, if you use tags, files can be shared between people without any issues.

If you apply you own choice of gain change, then shared files won't match. You'll have to re-gain them. Some software writes undo information.

If there's no undo information, and someone applied track gain, but you want album gain, or the original loudness as found on the CD, then you're stuffed. As you frequently will be in many different ways when sharing lossy files at random.

Cheers,
David.

P.S. Use 83dB (MM) = -6dB (fb2k) and it'll be very rare that clipping prevention kicks in. Or at least, "very rare" overall in the grand scheme of things - I've no idea what tracks you have in your own collection.
Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-07 15:59:45
Thanks for the clarification. What is throwing me off is that the Media Monkey interface reports different Track Volume and Album Volume values than the tags it writes. It seems to be reporting gains relative to my 85 dB Target Volume setting (i.e. tag value -4 dB) but when I change the Target Volume, neither the numbers nor the playback level seems to change. Something messed up there.

In my library I have material with album gain ranging from -13.00 dB (Californication) to +3.17 (Brothers in arms). My 85 dB setting is about optimal for this range.
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-07 16:45:02
when I change the Target Volume, neither the numbers nor the playback level seems to change. Something messed up there.
It certainly changes for me when you change the Target volume level for Playback. Try turning it down an extreme amount to check. You'll have to re-start playback for it to take effect though - it's not immediate.

Quote
In my library I have material with album gain ranging from -13.00 dB (Californication) to +3.17 (Brothers in arms). My 85 dB setting is about optimal for this range.
- well, nothing will ever get turned up, and with lossless files clipping prevention will never get applied. I assume you have a decent sound card, system, etc. in which case it will work very well.

It wouldn't be optimal if your sound card or system components were junk, because you could be throwing away dynamic range that you didn't have to spare. Lots of people seem to worry about this, not always with justification.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: Teknojnky on 2010-09-07 16:48:57
MediaMonkey does not have a preamp setting.


I do not think this is entirely accurate.

I am pretty sure there is a pre-amp gain setting on the EQ (I don't have MM in front of me to check).


Title: Does Replay gain work differtly in Media monkey
Post by: Notat on 2010-09-08 02:40:58
MediaMonkey does not have a preamp setting.


I do not think this is entirely accurate.

I am pretty sure there is a pre-amp gain setting on the EQ (I don't have MM in front of me to check).


That preamp function there is only active when you turn on the EQ feature. I assume it is useful for avoiding clipping due to aggressive EQ settings. I don't know if it's in the right place in the signal path to help with Replay Gain clipping.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-08 02:47:50
What is throwing me off is that the Media Monkey interface reports different Track Volume and Album Volume values than the tags it writes.
Coincidentally, reported by me today http://www.mediamonkey.com/forum/viewtopic...f=7&t=52534 (http://www.mediamonkey.com/forum/viewtopic.php?f=7&t=52534) and replied by the Devs.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-08 02:50:21
MM is actually pretty standard
Surely the fact it defaults to 89dB reference makes it non-compliant with the ReplayGain standard, specifying 83dB.
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-08 07:38:22
MM is actually pretty standard
Surely the fact it defaults to 89dB reference makes it non-compliant with the ReplayGain standard, specifying 83dB.

No, the ReplayGain website is out of date - or more accurately it's just an archive of the initial proposal. It hasn't been updated since 2001. However...
Almost everyone is using a reference level of 89dB, rather than the 83dB in the original ReplayGain proposal. Unless there are any objections, I'll change the official reference level to 89dB.

from this 7 year old thread: http://www.hydrogenaudio.org/forums/index....st&p=154605 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=15445&view=findpost&p=154605)

If you want complete and total accuracy, the ReplayGain tags stored in the files are 6dB above the gain adjustments required to make the files "sound as loud" as a -20dB RMS pink noise signal when replayed in an SMPTE RP 200 calibrated system. The -20dB RMS pink noise signal will measure 83dB SPL at the listener's seat in such a system. The extra 6dB included in the stored ReplayGain values has been standard for over 7 years - just because I never updated the RG website, please don't suggest it's more "correct" to write tags referenced to 83dB - that would be wrong.

I was going to point you to the HA wiki as being more up to date, but I see you've edited it...!

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: greynol on 2010-09-08 07:51:12
Can we have an update to the site so that this doesn't happen again?
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-08 10:28:20
Not from me.

It either needs to stay as it is (an archive frozen in 2001), or be properly updated and maintained.

I prefer(ed) to point people to the wiki, which was correct, up-to-date, and actively maintained.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-09 00:54:52
If you want complete and total accuracy
Well yes, that is what I hope for!

please don't suggest it's more "correct" to write tags referenced to 83dB - that would be wrong.
I presume you mean wrong with respect to  V2 of the ReplayGain spec.

I was going to point you to the HA wiki as being more up to date, but I see you've edited it...!

Not in any way that conflicts, surely: http://wiki.hydrogenaudio.org/index.php?ti...922#cite_note-0 (http://wiki.hydrogenaudio.org/index.php?title=Replay_Gain&diff=21924&oldid=21922#cite_note-0)

Quote from: greynol link=msg=0 date=
Can we have an update to the site so that this doesn't happen again?
I'll settle for any complete and accurate specification. Properly distinguished from any previous but different specification going by the same name!


Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-09 11:13:53
It was a proposed standard in July 2001.

I think a couple of the earliest tag-based implementations did use 83dB. I think one stubbornly does to this day (despite a request for them to change very early on). It doesn't to Album gain "properly" either... http://yabb.jriver.com/interact/index.php?topic=49357.0 (http://yabb.jriver.com/interact/index.php?topic=49357.0)

The very first apply-the-gain implementation (mp3gain) defaulted to 89dB early on.

Subsequently, AFAIK, all tag-based implementations used 89dB, and this became the de facto standard.


Here are some other ways the original proposal isn't reflected in what's in-use today:
* In the original proposal, there were proposals for how to store the ReplayGain values in tags for mp3 and wav (http://replaygain.hydrogenaudio.org/file_format.html). Some software uses these, but most software uses better solutions, and the tagging for other formats wasn't defined in the original proposal.
* The original proposal used the names "radio" and "audiophile" for track and album (for various reasons which seemed sensible at the time). These were changed to "track" and "album" - and everyone was far less confused!
* The original proposal didn't store the album peak, but it made sense to do so (http://www.hydrogenaudio.org/forums/index.php?showtopic=1709&hl=improving+replaygain), so this was universally adopted AFAIK.


I don't think there is any sense in clinging to the idea that the original archived proposal is definitive, or version 1. It wasn't finished. See the ReplayGain threads from 2002 to see how much work was done afterwards. The result, i.e. what was widely adopted, is version 1. There isn't a version 2 (I tried once, but gave up (http://www.hydrogenaudio.org/forums/index.php?showtopic=15445)).

It might make sense for someone to create a new document or website to reflect what is in use today. IMO the HA wiki is more than half way there.
I'm happy for someone to pop a note on the original proposal to say it's an archived website, and current information is in the wiki.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-09 12:05:13
Thanks David for that explanation.

I think a couple of the earliest tag-based implementations did use 83dB. I think one stubbornly does to this day (despite a request for them to change very early on).
J River.

I can see their point. For the proposed standard's ref_pink.wav, J River Media Jukebox 14 determines REPLAYGAIN_TRAIN_GAIN as 0dB. That is correct in accordance with the proposed standard:

http://replaygain.hydrogenaudio.org/calibration.html (http://replaygain.hydrogenaudio.org/calibration.html)
we send the pink noise signal through the ReplayGain program, and store the result (let's call it ref_Vrms). For every CD we process, the difference between the calculated value for that CD and ref_Vrms tells you how much you need to scale the signal in order to make it average 83dB.


The very first apply-the-gain implementation (mp3gain) defaulted to 89dB early on.
A major non-compliance with the proposed standard.

I don't think there is any sense in clinging to the idea that the original archived proposal is definitive, or version 1. It wasn't finished. See the ReplayGain threads from 2002 to see how much work was done afterwards.
Well, I suggest it is unrealistic to expect standards-respecting app developers to see let alone follow updates that aren't mentioned at the ostensible official location - http://replaygain.hydrogenaudio.org/updates.html (http://replaygain.hydrogenaudio.org/updates.html).

It might make sense for someone to create a new document or website to reflect what is in use today.
I suggest what is needed is a specification update. Published in the ostensibly official location, displacing the currently mis-leading proposal.

It should recognise there are V1 and V2 in the field so addresses the migration issue. I for one do not want updated apps to in future mis-interpret old RG values. I had enough of that kind of fun and games with MediaMoney chopping and changing its ratings storage!

I'm happy for someone to pop a note on the original proposal to say it's an archived website

Actually it isn't. Better I suggest to say that its specification has been superceded by another. And to hold off saying that until it is true!
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-09-09 12:55:28
Well, maybe somebody can do that.

http://www.youtube.com/watch?v=jE04KNFieRg (http://www.youtube.com/watch?v=jE04KNFieRg)




I learned a lot through doing ReplayGain. I've since sat on real standards bodies and been involved with real IPR. Nothing exciting, but still... there is a difference between something that's published by the IEC, and something that someone decides to post on the internet. De Facto standards end up being more important than what's written in the latter case.

Cheers,
David.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-09 13:05:48
Agreed, but still if people want to take this forward, a real standard is better than the "de-facto" one that is not working well enough.

PS Nice song! Thanks.
Title: Does Replay gain work differtly in Media monkey
Post by: chrisjj on 2010-09-10 01:26:51
I think a couple of the earliest tag-based implementations did use 83dB. I think one stubbornly does to this day (despite a request for them to change very early on).
J River.

It is worth noting that JRiver Media Jukebox 14 t read/writes not the standard REPLAYGAIN_* fields, but its own JR/PEAKLEVEL, JR/REPLAYGAIN etc. This opt-out means its use of 83dB is not really a non-compliance with the defacto ReplayGain standard 89dB. Though arguably the app should not call what it does Replay Gain
Title: Does Replay gain work differtly in Media monkey
Post by: jimmanningjr on 2010-09-14 00:43:58
Well, maybe somebody can do that.

http://www.youtube.com/watch?v=jE04KNFieRg (http://www.youtube.com/watch?v=jE04KNFieRg)




I learned a lot through doing ReplayGain. I've since sat on real standards bodies and been involved with real IPR. Nothing exciting, but still... there is a difference between something that's published by the IEC, and something that someone decides to post on the internet. De Facto standards end up being more important than what's written in the latter case.

Cheers,
David.


First to "2bdecided" thank you so much for all the WORK you have done on "Replay Gain" now and in the past...Thank you for downloading MM and checking things out....If anyone wants the opinion of yer average Music Freak/Computer Geek here it is: Replay Gain is cool!!!Especially so with the current LOUDNESS wars going on . It deserves to be standardized across the board and YES I believe there should be an UP to date Web site or Wiki with ALL of the important info explained in plain English (ie. Not just Geek Speak) Again thank you ,when I started this topic I never dreamed it would still be going 10 days latter with the developer of replay gain contributing. 
Title: Does Replay gain work differtly in Media monkey
Post by: load97 on 2010-10-13 08:30:08
I had to register here to say thank as well! I am a MM user for the last 3-4 years and was curious as to what(if any) differences were with MM, Replay Gain/MP3 Gain.

I had posted a question on MM forums right before we left for Hawaii, and my question branched off a bit. Here: http://www.mediamonkey.com/forum/viewtopic...f=1&t=52653 (http://www.mediamonkey.com/forum/viewtopic.php?f=1&t=52653)

David's Q & A session on this thread seemed to answer most of my questions as well. Although, can MP3 Gain(Level Track Volume in MM) be done more than once to a track or is it better to go to a different db level from the original untouched tracks? I was thinking of going from 89db currently to 93db.

Thanks, and thanks to the OP for starting this thread!
Title: Does Replay gain work differtly in Media monkey
Post by: 2Bdecided on 2010-10-13 10:27:55
... can MP3 Gain(Level Track Volume in MM) be done more than once to a track or is it better to go to a different db level from the original untouched tracks?
With mp3s, there's no advantage to going back to the original tracks. Unless something goes wrong (software bug), or you use utterly stupid numbers (a target of several 100 dBs), you'll get the same result going straight to 93dB as you will applying a different target level first.

One caveat: if you use Album Gain for the latest gain change, then you must have also used Album Gain for any previous gain changes. If you apply Track gain first, and then try to apply Album again, it won't be right. You'll have to go back to the original files to get the right Album gain applied (unless the application stores "undo" information when you apply the Track Gain first time, and uses it when calculating the Album gain - I don't know if this happens or not).

Hope this helps.

Cheers,
David.