QUOTE(larswes @ Nov 22 2004, 09:37 AM)
QUOTE(k.eight.a @ Nov 22 2004, 08:51 AM)
Yes, by Mp3Gain you can repair the clipping that was introduced by encoding...
Yes, it seems that Mp3Gain is doing a great job.
But don't I lose information when clipping is introduced by encoding?
If I lose data, can Mp3Gain really undo it?
I've read the
Mp3gain FAQ, can't find the answer there. In fact I hope I'm wrong, and no info is lost. But I want to be sure.
I was surprised that, in five minutes, I couldn't find the answer to this on-line either. It must have been answered many times, but it may be quicker to answer again than to keep searching!
If something is "clipped" it means that the sample value is (or should be) above digital full scale - but gets "clipped" to exactly digital full scale, because there are no larger numbers available to represent the true value.
The mp3 encoded version is clipping because the original CD had sample values were very near, or equal to, digital full scale. Mp3 encoding changes the waveform slightly - so that (often as not) these nearly clipped samples get pushed slightly higher, into clipping.
The reason you can recover these samples is because mp3 files
can store values
greater than digital full scale. So, they've been pushed up out of the range the mp3
decoder or player can handle, but they're still in the mp3 file. If you can adjust the volume down slightly
before you play the file back, everything will come out fine, because the values will be decoded into the range below digital full scale = no clipping.
If mp3 encoding only pushed the values
slightly higher, it probably wouldn't be worth worrying about this, but some circumstances cause peak values to increase dramatically - it's not a fault, just a fact of life - there's more about it here:
http://www.ff123.net/norm.htmlTo prove to yourself that what I'm suggesting is happening
is happening, try this:
1. Take a file (preferably a nice quiet file) and mp3gain it to some stupid amount (110dB or something).
2. Listen to it - it should sound awful - it'll be full of clipping.
3. mp3gain it back down to, say, 89dB.
4. Listen to it again - the clipping has gone. It was only temporary.
Obviously mp3gain can't do anything about clipping which was present in the original source (e.g. CD).
Cheers,
David.