The other good news is that this volume adjustment is completely lossless. In other words, if you adjust an mp3 by -6 dB and then change your mind, you can adjust it again by +6 dB and it will be exactly the same as it was before you made the first adjustment.
Here's the technical reason why it's lossless, and also why the smallest change possible is 1.5 dB:
The mp3 format stores the sound information in small chunks called Â“framesÂ”. Each frame represents a fraction of a second of sound. In each frame there is a Â“global gainÂ” field. This field is an 8-bit integer (so its value can be a whole number from 0 to 255).
When an mp3 player decodes the sound in the frame, it uses the global gain field to multiply the decoded sound samples by 2 ^ (gain / 4).
So if you add 1 to this gain field in all the frames in the mp3, you effectively multiply the amplitude of the whole file by 2 ^ (1/4) = 119% = +1.5 dB.
Likewise, if you subtract 1 from the global gain, you multiply the amplitude by 2 ^ (-1/4) = 84% = -1.5 dB.
Der Klügere gibt solange nach, bis er der Dumme ist...
geschrieben von webrider , 24.05.2002, 14:55 Uhr , 9 mal gelesen