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: mp3 format delivers only 25dB SNR (Read 3840 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mp3 format delivers only 25dB SNR


Ever wondered, what happens to your music when encoding to mp3 ?
I always wondered, if mp3 not only removes psycho-acoustical "masked out" inaudible content (this is the common opinion about mp3 and all lossy encoding theories), but also adds a fair amount of noise to the signal, which was not yet measured or discussed.
So I measured the actual SNR (Signal to Noise Ratio) in the spectrum, and was very disappointed but confirmed about my listening observation.

I measured the SNR between busy frequency bands and silent frequency bands. The result is:

  • mp3 128-256 constantly has only 25dB SNR, even mp3 320 has only around 32dB SNR
  • mp2 (VCD, SVCD, Digital Video Broadcast) has only 10dB (160kbps), 18dB (224kbps)
  • ac3 (DVD!) is not much better, 20dB SNR
  • mp3pro totally screws the spectrum above 10kHz (removes bands, adds other bands or shifts bands in spectrum)
  • musepack mpc is nearly as bad as mp2
  • wav muLaw 8bit is not as bad as expected compared to the others (has 40dB)[]
  • ogg (65dB) and aac (70dB) are winner in the lossy playground, wma9 follows (55dB)
  • if you use an iPod, aac (or apple lossless (ALAC)  of course) sounds better, many mobile phones play aac too.
  • aac -HE (high efficiency) should be avoided, screws the spectrum just as mp3pro does. Use aac -LC (low complexity) instead.
  • finally use the free lossless formats flac and ape to preserve your expensive sound and fidelity if you are scared from the pictures (as I am) []


    How to read the pictures:
    The first is the original wave spectrum. (equals to lossless ape and flac compression)
    The peaks show the frequency response, the valleys show the noise floor.
    Peaks should go straight up to 20 kHz, the valleys should be low and not narrow.
    See yourself how different lossy compressed formats fill up the music with audible noise.





















    [/color]

mp3 format delivers only 25dB SNR

Reply #1



















 

mp3 format delivers only 25dB SNR

Reply #2











mp3 format delivers only 25dB SNR

Reply #3
This is very interesting to know for educational purposes - but the big question:

Quote
So I measured the actual SNR (Signal to Noise Ratio) in the spectrum, and was very disappointed but confirmed about my listening observation.


Can you also ABX the added noise with music(thus, non-testsignals)? If no, then it doesn't matter - because thats the purpose of lossy encoders: remove stuff which you cannot hear, and add noise/inaccuracies in areas where you won't notice them.

If you cannot, then you should remove the latter claim in your post, and add a notice that the added noise is inaudible to you.
I am arrogant and I can afford it because I deliver.

mp3 format delivers only 25dB SNR

Reply #4
....

Did you notice your valleys go down to 89 db?  Maybe if you tried with a signal at -89 / 0db, you'd notice there's no problem?