|
Introduction
|
|
|
|
spectrum plots |
|
|
|
The 1st picture shows the output spectrum when decoded using mpg123 default decode_i586.s routine. Note that due to quantization distorsion the spectrum is crowded with frequency components that aren't present in the source.
|
|
|
|
The 2nd picture uses wide band 2LSB triangular distribution dither noise. Notice the clean spectrum, at the penalty of a raised noise floor (according to [1] an extra 4.7dB above the 16 bit noise floor).
|
|
|
The 3rd picture uses 5 LSB noise-shaped dither. It combines the low noise floor with a clean spectrum. All the noise energy is pushed into the higher frequencys.
For those who want to conduct test their own mp3 decoder setup, the 2tone.mp3
file can be found on the download page.
music
Nice pictures, but it's the sound that matters. To hear any difference, do I need audiophile stuff like oxygen-free cables and golden ears?
On the download page I prepared some special
samples, that will expose the difference on even the cheapest PC speakers!
A special MP3 source file was created
by lowering the volume by -74dB. This MP3 was decoded to wav, and the resulting wavs
were amplified by the same amount of 74 dB.
This test not only shows the benefits of dither in practice, it also shows that some
codecs lack LSB precision: Check out the mp3lib mmx-optimized sample on the download
page: At this low amplitude level, the music isn't even recognizable!
Unfortunately, this is the decoding mode used by most Intel processors...
References:
1: Quantization and Dither: A theretical survey. S.P. Lipshitz and R.A. Wannamaker and J Vanderkooy
J. Audio eng. Soc. Vol 40 #5 1992 May
2: The Application of Narrow-Band Dither Operating at the Nyquist Frequency in Digital Systems to Provide Improved Signal-to-Noise Ratio over Conventional Dithering. Barry A. Blesser
and Bart N. Locanthi
J. Audio eng. Soc. Vol 35 #6 1987 June