About ReplayGain standard |
![]() ![]() |
About ReplayGain standard |
Apr 12 2009, 11:20
Post
#1
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
Hi! I'm new here. I'm sorry if this is posted in the wrong place, I'd appreciate your help!
Please read this first: I made a suggestion, which I think will improve the current Replay Gain standard. But my strongest point was proven invalid. Other benefits, though existent, may not be worth the hassles of changing an already popular standard. So I guess we'll just leave it as it is Thanks for the discussion. I think RG standard should be changed, so that it stores the actual level of the track, rather than the "gain". Here are my points: 1. Standards should not feel awkward, and the current standard feels very awkward. Don't get me wrong, it works perfectly. But where did that 89dB "reference level" come from? Based on what was it decided? Besides, I'd rather see how loud my track/album is, instead of looking at some (less meaningful) negative numbers. Not valid. 3. This is the most important. This change will not break any compatibility! All we have to do is add 2 new tag fields: REPLAYGAIN_TRACK_LEVEL and REPLAYGAIN_ALBUM_LEVEL. They can be easily calculated from the 2 old "GAIN" fields (assuming the 89dB reference was used). New players will use these new fields and just ignore the old ones, while old players remain compatible. And the "Pre-amp" option will be changed to "Preferred Level", which defaults to 89dB. Makes much more sense to me! 4. It's not too late. Replay Gain is getting more and more attention. My Sansa Fuze has just got RG support via a firmware update, and I'm extremely happy with that. Before RG is widely used or even becomes an official standard, we should improve it as far as we can! These are only my ideas. I don't know what else to do but post it here Thank you. This post has been edited by waaateva: Apr 13 2009, 12:19 |
|
|
|
Apr 12 2009, 14:03
Post
#2
|
|
|
Group: Members Posts: 65 Joined: 13-September 07 Member No.: 47005 |
The gain numbers are meaningful. They show how much the track/album must be adjusted to match -20dBFS pink noise. Thus, if the gain is -5dB, the average volume is -15dBFS.
The reference level affects just loudness contour that is used to calculate the average power. For example, 89dB means that if you listen at that SPL level the perceived power levels match. -------------------- Teemu
|
|
|
|
Apr 12 2009, 15:27
Post
#3
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
The reference level affects just loudness contour that is used to calculate the average power. Does that mean if the reference level is changed, the "volume level" calculated by RG will change accordingly? This post has been edited by waaateva: Apr 13 2009, 12:22 |
|
|
|
Apr 12 2009, 16:12
Post
#4
|
|
|
Group: Members Posts: 65 Joined: 13-September 07 Member No.: 47005 |
The reference level affects just loudness contour that is used to calculate the average power. Does that mean if the reference level is changed, the "volume level" calculated by RG will change accordingly? Yes it would. Ideally it should be the real level you listen to. The reference level is just for you information, the player does not use it (how could it, it does not know the final level). -------------------- Teemu
|
|
|
|
Apr 12 2009, 16:54
Post
#5
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
I'm sorry but I have no idea what you're talking about. My suggestion is actually very simple. Let's take this track as an example:
Current Replay Gain standard: REPLAYGAIN_ALBUM_GAIN: -9.79 dB REPLAYGAIN_TRACK_GAIN: -9.35 dB REPLAYGAIN_ALBUM_PEAK: 0.998840 REPLAYGAIN_TRACK_PEAK: 0.987976 I suggested this: REPLAYGAIN_ALBUM_LEVEL: 98.79 dB REPLAYGAIN_TRACK_LEVEL: 98.35 dB REPLAYGAIN_ALBUM_PEAK: 0.998840 REPLAYGAIN_TRACK_PEAK: 0.987976 (The 2 GAIN fields can be stored for compatibility with older players) for the reasons mentioned in my first post. |
|
|
|
Apr 12 2009, 17:15
Post
#6
|
|
![]() Group: Developer Posts: 2986 Joined: 2-December 07 Member No.: 49183 |
QUOTE Besides, I'd rather see how loud my track/album is, instead of looking at some (less meaningful) negative numbers. Audio player can calculate sound pressure level if it knows REPLAYGAIN_xxxxx_GAIN. For foobar2000 you can create column with the following code: CODE $puts(x,%replaygain_track_gain%) $puts(d,$strchr($get(x),'.')) $puts(r,$sub(8900,$mul($left($get(x),1)1,$add($mul($substr($get(x),2,$sub($get(d),1)),100),$substr($get(x),$add($get(d),1),$add($get(d),2)))))) $substr($get(r),1,$sub($len($get(r)),2)).$right($get(r),2) Edit: ® -> ( r ) This post has been edited by lvqcl: Apr 12 2009, 17:17 |
|
|
|
Apr 12 2009, 17:29
Post
#7
|
|
|
Group: Members Posts: 65 Joined: 13-September 07 Member No.: 47005 |
I suggested this: REPLAYGAIN_ALBUM_LEVEL: 98.79 dB REPLAYGAIN_TRACK_LEVEL: 98.35 dB Relative to what? dB is just a relative scale, there are no absolute values. -------------------- Teemu
|
|
|
|
Apr 12 2009, 17:42
Post
#8
|
|
![]() Group: Members Posts: 1065 Joined: 4-May 04 From: France Member No.: 13875 |
REPLAYGAIN_ALBUM_LEVEL: 98.79 dB I often get confused about sound level measurement because it's among those things that I can be explained to me and I'll always forget it 5 minutes later, but IIRC the maximum level a digital file can have is 0dB, and the lowest level for CD-DA is -96dB. -------------------- Save my friend from going homeless: http://outpost.fr/url/308w
|
|
|
|
Apr 12 2009, 17:44
Post
#9
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
Audio player can calculate sound pressure level if it knows REPLAYGAIN_xxxxx_GAIN. For foobar2000 you can create column with the following code: Of course it can! But seriously, you expect people to do that? Relative to what? dB is just a relative scale, there are no absolute values. Please, I have little knowledge about it, but that's not the point of this thread. You can download MP3Gain and give it a try, these values were taken from the columns "Volume" and "Album Volume". |
|
|
|
Apr 12 2009, 17:49
Post
#10
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
REPLAYGAIN_ALBUM_LEVEL: 98.79 dB I often get confused about sound level measurement because it's among those things that I can be explained to me and I'll always forget it 5 minutes later, but IIRC the maximum level a digital file can have is 0dB, and the lowest level for CD-DA is -96dB. Me too. But as far as I know, what you're talking about is dBFS, the Replay Gain level is dB SPL. |
|
|
|
Apr 12 2009, 17:49
Post
#11
|
|
![]() Group: Developer Posts: 2986 Joined: 2-December 07 Member No.: 49183 |
|
|
|
|
Apr 12 2009, 18:01
Post
#12
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
Agreed. And my suggestion is to tweak the standard a little bit, it just seems more logical to me. Some people (including me) don't agree with the 89dB reference, other do. So why not just leave the SPL there, and let them decide what is the "reference"?
Besides, you didn't take my point #2 into account. This post has been edited by waaateva: Apr 12 2009, 18:03 |
|
|
|
Apr 12 2009, 18:05
Post
#13
|
|
|
Group: Members Posts: 65 Joined: 13-September 07 Member No.: 47005 |
Me too. But as far as I know, what you're talking about is dBFS, the Replay Gain level is dB SPL. That is where it goes wrong, Replay Gain is not dB SPL, but dB relative to -20dBFS pink noise, both adjusted with the loudness curve. -------------------- Teemu
|
|
|
|
Apr 12 2009, 18:10
Post
#14
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
Me too. But as far as I know, what you're talking about is dBFS, the Replay Gain level is dB SPL. That is where it goes wrong, Replay Gain is not dB SPL, but dB relative to -20dBFS pink noise, both adjusted with the loudness curve. What I meant is the REPLAYGAIN_TRACK_LEVEL and REPLAYGAIN_ALBUM_LEVEL in the example. OK, have you tried MP3Gain? Can you tell me what kind of dB is in the columns "Volume" and "Album Volume"? I don't care what it is, but I want Replay Gain to store that information, instead of what it's doing now This post has been edited by waaateva: Apr 12 2009, 18:15 |
|
|
|
Apr 12 2009, 18:57
Post
#15
|
|
![]() Group: Super Moderator Posts: 3268 Joined: 26-July 02 From: princegeorge.ca Member No.: 2796 |
Agreed. And my suggestion is to tweak the standard a little bit, it just seems more logical to me. Some people (including me) don't agree with the 89dB reference, other do. So why not just leave the SPL there, and let them decide what is the "reference"? You're welcome to adjust the preamp in foobar2000 to be whatever you like. The standard, as it stands, is completely sensible. You've yet to give any conclusive or compelling reason why the 89dB reference should be adjusted. As it is, it is a bit too loud for some music.
This post has been edited by Canar: Apr 12 2009, 18:59 -------------------- (atrix|(fb2k->e-mu 0404 usb|audio 8 dj))->hd280|jvc ha-fx35-b
|
|
|
|
Apr 12 2009, 19:07
Post
#16
|
|
![]() Group: Super Moderator Posts: 9268 Joined: 1-April 04 Member No.: 13167 |
Coming from someone who uses 92 dB for a target volume in MP3Gain, I fail to see a problem with RG as it's currently implemented.
-------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
Apr 12 2009, 19:13
Post
#17
|
|
![]() Group: Members Posts: 780 Joined: 19-December 01 From: Tar Heel country Member No.: 683 |
I like the suggestion, although I don't think it's a big deal.
Mp3gain always displays the track volume (e.g., 95.2 dB) which I find a more intuitive way of thinking about the volume level than -6.2 dB. But I don't know if this is worth adding a field to the standard, despite the backward compatibility. -------------------- God kills a kitten every time you encode with CBR 320
|
|
|
|
Apr 12 2009, 19:27
Post
#18
|
|
![]() Group: Members Posts: 299 Joined: 6-February 08 From: San Diego, CA Member No.: 51066 |
Wouldn't it just be easier to assume that since 89dB is the reference standard for 99%+ of the music files with respect to ReplayGain Track/Album values, that any software and hardware follow such accordingly unless there is a *single* custom TAG field (i.e. REPLAYGAIN_LEVEL 85dB) that states otherwise?
This post has been edited by WonderSlug: Apr 12 2009, 19:27 |
|
|
|
Apr 12 2009, 19:31
Post
#19
|
|
![]() Group: Super Moderator Posts: 9268 Joined: 1-April 04 Member No.: 13167 |
There's already a tag for this:
REPLAYGAIN_REFERENCE_LOUDNESS -------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
Apr 12 2009, 20:00
Post
#20
|
|
|
Group: Members Posts: 65 Joined: 13-September 07 Member No.: 47005 |
OK, have you tried MP3Gain? Can you tell me what kind of dB is in the columns "Volume" and "Album Volume"? I don't care what it is, but I want Replay Gain to store that information, instead of what it's doing now No I haven't, I don't use mp3 at all, and I don't know what mp3gain shows. What you suggest would be "if I would listen -20dBFS pink noise at 89dB SPL, this track would play xxx dB SPL loud". But it is not even that, since SPL measurement does not take the loudness curve into account whereas the RG calculation does. The current way is meaningful for digital audio, since the hard-limit of the headroom is 0dBFS, thus the number tells you something about available dynamic range. -5dB RG value tells you that there is 15dB dynamic range above average level. -9dB or louder means most likely crapware :-) -------------------- Teemu
|
|
|
|
Apr 13 2009, 01:38
Post
#21
|
|
|
Group: Members Posts: 4136 Joined: 2-September 02 Member No.: 3264 |
This seems pointless.
|
|
|
|
Apr 13 2009, 02:35
Post
#22
|
|
![]() Group: Members Posts: 239 Joined: 9-February 03 Member No.: 4921 |
IMHO it makes sense what waaateva means. And AFAIK the replaygain-developer also said somewere that absolute values would have been better than the relative ones, but it came into his mind to late.
|
|
|
|
Apr 13 2009, 04:08
Post
#23
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
Coming from someone who uses 92 dB for a target volume in MP3Gain, I fail to see a problem with RG as it's currently implemented. This is wrong. There's already a tag for this: REPLAYGAIN_REFERENCE_LOUDNESS I've never seen this tag in use. This post has been edited by waaateva: Apr 13 2009, 11:00 |
|
|
|
Apr 13 2009, 04:16
Post
#24
|
|
|
Group: Members Posts: 4136 Joined: 2-September 02 Member No.: 3264 |
Coming from someone who uses 92 dB for a target volume in MP3Gain, I fail to see a problem with RG as it's currently implemented. Actually, that's the problem! If you mix your library with mine, who use 89dB, they'll play with different loudness. I think all replaygain implementations (at least all I've used) use the same reference level. The target volume is adjusted at playback time, not scan time. Therefore you'll both get the same volume. |
|
|
|
Apr 13 2009, 04:32
Post
#25
|
|
|
Group: Members Posts: 32 Joined: 2-January 09 Member No.: 65095 |
I think all replaygain implementations (at least all I've used) use the same reference level. The target volume is adjusted at playback time, not scan time. Therefore you'll both get the same volume. The real problem is: scanners (and users) are not supposed to change the reference level when scanning, because it is in the standard. Wrong. What surprised me the most is, when I read the RG homepage, it says the reference level is 83dB, while all scanners use 89dB. Nevertheless, I still think it's better to store the SPL, you know, less hassles, more convenience. @tot: you really enlightened me, I now have a much better understanding what those numbers mean. Thank you! BTW, you can still calculate the headroom when storing the LEVEL. So, because users have the ability (and reasons) to change the reference level, why don't we just remove it from the standard, and store the SPL instead? Wrong. This post has been edited by waaateva: Apr 13 2009, 12:02 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 15:25 |