
What is the MP3 compression principle?

In fact, there are many audio compression technologies and MP3 compression technology is not the best.

But now it seems that it is still mainstream.
Musical signals have many redundant components, including spacing and information that the human ear cannot distinguish (such as weak signals mixed with a strong background). The CD sound is not compressed and uses a fixed sampling frequency of 44.1 kHz, which can ensure good playback of maximum dynamic music. Of course, the amount of data where the amount of information is less is also the same, so there is a possibility of compression. The audio bandwidth of 20 ~ 20 kHz (upper CD player can be extended up to 2 Hz) has become the current music standard. To reduce sound distortion, MP3 adopts an encoding algorithm called “sensory encoding technology”: when encoding, first perform spectrum analysis on the audio file, then use a filter to reduce the noise level, and then quantize the noise. remaining bits are scattered and arranged, and finally an MP3 file with a higher compression ratio is formed, and the compressed file can achieve a sound effect closer to the original sound source during playback. Although it is a lossy compression, its biggest advantage is very little sound distortion in exchange for a higher compression ratio. And now MP3 adopts a variable compression ratio (VBR) compression technology similar to Dolby AC-3. The sampling compression ratio depends on the amount of information in the music, and the masking effect of the human ear is used to reduce redundant data.







