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: Replay Gain 89 db reference (Read 14927 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Replay Gain 89 db reference

I have read through the forum but still have my question..

What is the 89 dB "no clipping" level actually stand for? In audio devices 0 dB is equal to 0,775 or 1 V, but what is it in the informatica world?

and very much related to this, i don't understand why 89 should not clip and 100 db should. I've read that clipping would occur at decoding to wav.. but i don't do that.
So then it would be ok to encode to 100 dB? or does the digital mp3 data clip at this level? or the audio cards output channels? and what would be the output voltage level of the soundcard at 89 or 100 dB, if 0 dB is already 0,775 V? Greetings and thanks if you can provide a solid answer..

 

Replay Gain 89 db reference

Reply #1
It is dB of dynamic range (steps), not the one of voltage or pressure - you're certainly mixing these up.
Soundcards accept line level voltages without clipping - how they map it to digital values depends on ADC and volume setting.
Digital data has always limited dynamic range - loudest possible sound is mapped at 0 dB,
most quiet usually -96 dB (16 bit) or -144 dB (24 bit).
Any sound exceding 0 dB (digital) will clip and it doesn't sound nice most of the times,
while any quieter qound will be truncated (dithering can exploit some properties of our hearing
and allow us to hear even quieter sound even if it's not there)
Of couse, how loud is that sound depends only on amplifier settings,
as these values are only dynamic range, not loudness.
ruxvilti'a

Replay Gain 89 db reference

Reply #2
Thank you very much for your reply. But I missed the clue about the 89 dB?

Now I have installed a program which shows an analog VU meter on my computer schreen (with Winamp, from Boris Ribov). It has just like the real VU meter a reading until 0 dB, and above that the schale gets red to indicate distortion.
A test mp3 file goes with it and it shows a level of 0 dB.
Now mp3gain shows this mp3 file at a level of 100 dB.
So is it just a matter of offset, that is when mp3gain talks about 89 dB it should be -11 dB? What is the reason for having two expressions for the same thing?

Also there seems to be a "global gain field" in mp3, 8 bits, controlling the loudness of each individual frame. According to mp3gain is the db level related to this frame as 1.5 dB per step. With 255 steps this gives a global dynamic range of 384 dB!

Which such a range, i would think the "0 dB" would be selected somewhere in the middle and not at the maximum sound level. This would explain why Boris VU meter happily exceeds the 0 dB up to +8 dB, and why mp3gain can claim the change is lossless (the chance the global gain range limit is reached is very small).
But, i still dont understand from this the statement "clipping can occur when 89 dB is exceeded".

Perhaps nice to know, of the 2000 songs I have processed with mp3gain, 1100 were not changed, 130 were increased, and 770 were decreased (with max 12 dB).

Maybe you can shine some light on this (not from New York I hope?)

Replay Gain 89 db reference

Reply #3
Quote
Thank you very much for your reply. But I missed the clue about the 89 dB?

The confusion here is about what "dB" means. dB is just a logarithmic scale and can refer to just about anything you want it to.
The dB in VU meters and such refers to the amplitude. 0dB is the highest non-clipping amplitude.

The dB in MP3Gain is referring to the Sound Pressure Level (SPL), not amplitude.

Two different files with the same peak amplitude (i.e. both hit the same spot on a VU meter) can have very different "volumes" (i.e. how loud they sound to your ears).

Read David Robinson's original Replay Gain proposal for more in-depth info.
http://replaygain.hydrogenaudio.org

This page specifically explains the 89dB

http://replaygain.hydrogenaudio.org/calibration.html

(actually, that page uses David's original target of 83dB, which was deemed too quiet by users of early versions of mp3gain)

-Glen

Replay Gain 89 db reference

Reply #4
Apologies as I may be throwing off the rhythm of this thread (thought these questions didn't deserve to be in a new thread) and am definitely inserting some very noobish qualities to it, but  :

1)Is it possible to adjust ape or mpc files w/ Mp3 Gain (or do I even need to)?

2)I currently have version 1.0.0.0 (or 1.3.3 -- which is it?) The beginning of this thread from a couple of years ago makes reference to "radio" settings/radio analysis which I don't find in my version. Is this what I want for an update? "mp3gain-1_4_2-src"

Ok, thanks.

Replay Gain 89 db reference

Reply #5
Quote
2)I currently have version 1.0.0.0 (or 1.3.3 -- which is it?) The beginning of this thread from a couple of years ago makes reference to "radio" settings/radio analysis which I don't find in my version. Is this what I want for an update? "mp3gain-1_4_2-src"

Yeah, I think this thread should be locked or something. Every few weeks/months someone comes along and asks another random MP3Gain question in it...

Anyhow, the word "Radio" was replaced by "Track" at some point, because it made more sense in context.

I'm assuming you're using the GUI (lovely Windows program, not type-it-all-yourself DOS). You want "mp3gain-win-1_2_1" (that's GUI version 1.2.1, which also contains DOS version 1.4.2-- not to be confusing or anything...)

-Glen

Replay Gain 89 db reference

Reply #6
Sorry (your section at sourceforge isn't really self-explanatory for a newbie) & thanks.

Replay Gain 89 db reference

Reply #7
Dang, I wish I knew about this stuff back when I first got my Rio 500.

Replay Gain 89 db reference

Reply #8
Quote
Sorry (your section at sourceforge isn't really self-explanatory for a newbie) & thanks.

Check out the just-uploaded
http://mp3gain.sourceforge.net/download.php

That should be much clearer.

-Glen

Replay Gain 89 db reference

Reply #9
89 db is also called K-14. It means that the average perceived level is set at -14 db.
89 db refers to professional calibrated studio monitors : when a -14 db digital file is played (the reference is a pink noise), if the ampli gain is properly calibrated, the sound pressure must be 89 db at the listening point.
Above this, you risk clipping, because if somewhere in the track there is a peak that is more than 14 db above the average level of the track, then it will be pushed above 0db and will clip.

Replay Gain 89 db reference

Reply #10
still have a lot to learn..

Hydrogen explains the replaygain data format, 9 bits plus sign, with max range + and - 51,2 dB (512/10); but i understand this format is outdated by the new direct mp3 adjustment (256 * 1.5 dB)?

but maybe this is the clue i'm looking for: the conversion from mp3 to wav happens every time you play the file (i thought i wouldn't do decoding) .
Then an mp3 file mp3gained to 100 dB would still have no clipping but the moment it is played it causes clipping at the digital-to-analog decoder.

But then you could also adjust the replay volume to -11 dB for maximum non-clipping output. For this to work the Winamp software should first adjust the volume and then decode the mp3 to wav and on to analog.

Why i go through all this?

Well, from the analog recorder days (still have one of those fantastic Revox A77 tape recorders) i'm used to accept some red area. I hear no problems with it.
The recorder does not have such a signal-to-noise ratio to allow the comfort of completely no clipping..
Digital recording seem to copy this strategy as it has a red area as well. So to me the sound level seems ok if it sometimes hits the red area.
And, i'm used to limit the play-back volume to max 70%. The remainder seems reserved to compensate for accidentely faint recordings.

Please tell me if i'm on the right track.

Replay Gain 89 db reference

Reply #11
Quote
1)Is it possible to adjust ape or mpc files w/ Mp3 Gain (or do I even need to)?

Replay Gain 89 db reference

Reply #12
Quote
Quote
1)Is it possible to adjust ape or mpc files w/ Mp3 Gain (or do I even need to)?

MP3Gain is for MP3 only. Replaygain for APE files: Only indirectly via WaveGain. But that's not lossless. For MPC: Yes, with ReplayGain for MPC (see recommended MPC settings and that forum section in general).

Replay Gain 89 db reference

Reply #13
You've forgot Foobar's ability to do replaygain on anything.
(APE files too - it writes info into APEv2 tags)
ruxvilti'a

Replay Gain 89 db reference

Reply #14
Quote
You've forgot Foobar's ability to do replaygain on anything.

Hm yeah... MA should come bundled with foobar 

Replay Gain 89 db reference

Reply #15
Quote
You've forgot Foobar's ability to do replaygain on anything.
(APE files too - it writes info into APEv2 tags)

Unfortunately, foobar2000 is the only player that supports this kind of thing for Monkey's Audio files as of yet - and from what I read somewhere here, it doesn't seem likely that the Monkey's Audio Winamp plugin will feature RG support. IIRC, it was said that Matt considers ReplayGain the job of an audio player, not of the format itself - which is plain idiotic if you ask me, but then I'm no big fan of Monkey's Audio anyway.

Replay Gain 89 db reference

Reply #16
Quote
Well, from the analog recorder days (still have one of those fantastic Revox A77 tape recorders) i'm used to accept some red area. I hear no problems with it.
The recorder does not have such a signal-to-noise ratio to allow the comfort of completely no clipping..
Digital recording seem to copy this strategy as it has a red area as well. So to me the sound level seems ok if it sometimes hits the red area.
And, i'm used to limit the play-back volume to max 70%. The remainder seems reserved to compensate for accidentely faint recordings.

Please tell me if i'm on the right track.

Nope!

The digital limit, digital full scale (0dBFS), does not have any room above it. Any bigger numbers are clipped. See the graphs in:

http://www.david.robinson.org/commsbill/#2_1_2


especially figure 2.1(d) clipped waveform.



If you've found a digital meter that shows 0dB, and lots of room above it, then 0dB on this meter does not equal 0dB FS. It probably equals -18dB FS or something. This means, on that scale, you're allowed an extra 18dB above the level marked 0dB before the signal clips.


You're right about an mp3 not clipping (due to an increased gain) until decoding and playback. With a suitable decoder, one that lets you get at the "unclipped" waveform (i.e. has a floating-point digital output, allowing numbers greater than 0dB FS) you can decode the thing, and them reduce the level, before sending it to the DAC. A DAC will always clip at 0dB FS because, by definition, that's the highest level it supports.


In Replay Gain, 89dB is an averaged perceived loudness, when replayed via an SMPTE RP200 calibrated audio system. It doesn't tell you anything about the maximum signal in the file. However, a 0dB FS sine wave at 2kHz has a replay gain perceived loudness of ~ 103dB. Other frequencies will give different results, because ReplayGain tries to take account of the different sensitivity of the human ear to different frequencies.


Cheers,
David.

Replay Gain 89 db reference

Reply #17
Thanks a lot you all its completely clear to me now!