What is the MP3 compression principle?


Free Download Mp4Gain
picture

What is the MP3 compression principle?

MP3 compression
MP3 compression

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

MP3 compression
MP3 compression

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.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

How does an mp3 work?

How does an mp3 work?

Mp3 Compression
Mp3 Compression

Why is an mp3 more compact?

Mp3 Compression
Mp3 Compression

The format known as mp3 was created with the intention of being able to contain the audio that a WAV contained, for example, but occupying much less space.

That is, it is not an audio container variant made for other purposes. It was specifically designed, created and thought to be able to compress an audio that to human ears would sound the same as the original WAV but that by various means would occupy much less space.

Obviously the first tool is zip compression and redundancy compression.

For example, if a piece to be compressed was the following:

00000111110000011111

The mathematical way to compress it (seen from a simplified point of view) would be:

0(5)1(5)0(5)1(5)

That is, five zeros, followed by 6 zeros, followed by 4 zeros and ending with 6 zeros.

It is much easier to decipher it that way and it occupies much less space uew using the zeros and ones.

That is the basic way to save space: looking for a way to express the same thing, but using much fewer signs or elements.

Imagine that the first three seconds are silent:

000000000000000000000000 and so on for 200 zeros. It is easier to write in some way that at the beginning there will be 324 zero numbers.

Later, and we will see this later, the mp3 uses the well-known way in which the human ear captures sound, to decide which elements can be eliminated (for example, frequencies that the human ear cannot distinguish) and thus save more space.

How to compress an mp3 so that it takes up less space on the hard drive?

How to compress an mp3 so that it takes up less space on the hard drive?

Mp3 compression
Mp3 compression

An mp3 occupies one eleventh of the original on average.

Mp3 compression
Mp3 compression

Sometimes people don’t realize that literally compressing an mp3 means making the data take up a lot less space on the hard drive.

A WAV usually takes up a lot of space, especially because it saves as much information as possible.

A long time ago it was determined that the human ear was not very precise and therefore there were many sounds that could not be heard.

Based on an analysis of all this information about the peculiarities of human perception with respect to sound, an algorithm could be achieved to remove all this information, which was contained in the original WAVs, but since it could be removed without major impact, achieved that the compression was not only of the zip type, but also auditory.

The result was surprising, since an mp3 managed to occupy an average of one eleventh of the size of the original audio with hardly any differences being perceived.

Over time this has improved even more and it has been achieved, according to many tests carried out by many different researchers, to determine that an mp3 with a bitrate of 192 or more and a samplerate of 410 or more is almost impossible to distinguish from some audio without lost for 99.99% of people.

Especially if we consider the quality of equipment and headphones available today.

DEFINITION OF MP3

DEFINITION OF MP3

MP3 is an acronym derived from MPEG Audio Layer III. It is a digital audio format or, more specifically, a compression format for this type of audio.

To generate an MP3 file, an algorithm is used that allows reducing the size or weight of the file that stores the sound, although with a certain loss of quality. Said loss, in any case, is not usually significant, which is why MP3 is the most widely used format in computers and portable players.

German sound engineer Karlheinz Brandenburg is singled out as the creator of the MP3. He was among those responsible for the development of the Moving Pictures Experts Group (MPEG) and in the 1980s he began working on audio compression. As early as 1995, it started using the .mp3 extension for files with compressed audio under this system.

mp3 vs aac

The MP3 format was a revolution in the way of distributing and consuming digital audio. MP3 files are much lighter (and therefore easier to transfer or download) than files on an audio CD or CDDA. With the advancement of Internet connections, the download of entire discs whose songs are compressed in MP3 was facilitated.

The digital audio player is also known as MP3. These devices can save and play MP3 files, although they are generally able to work with other formats as well.

A person, for example, can store two hundred songs in one MP3 and then listen to them wherever and whenever they want. All this tells us that MP3 was a great invention that revolutionized the way we store and listen to our music, facilitating actions such as moving our entire music collection from one country to another at a level that in the past would have been a luxury. of few people.

However, everything surrounding this compression format is not positive. First of all we must talk about piracy: in its early years, MP3 was synonymous with “stolen music”, since due to the small size of the files it was possible to upload entire discs to the Internet for any user to download freely. This did not go unnoticed by the record labels, much less for the artists, but it was a phenomenon that generated great losses of money in the music industry.

One of the measures that was gradually bringing the industry to life was the sale of music in digital format, both MP3 and AAC (the iTunes format), among others; we could say that he adopted the saying “if you can’t against them, join them”. Unlike pirated discs, purchased ones come with the digital booklet, whose quality is impeccable and far superior to the scanned version that pirates usually include in their packages, as well as certain items that are not found on the physical disk.

In addition to combating illegal downloading with the sale and inclusion of exclusive material, another determining factor was quality: one of the outstanding characteristics of the MP3 format is that it can offer different degrees of compression, and the differences between very small files (such as being the 96 kbps) and the big ones (320 kbps) is appreciated without effort.

Undoubtedly, the eventual offers go a long way in convincing people to buy rather than steal. But none of this can change the mindset of those who are absolutely stuck in their ideas, those people who download games, movies, music and books without paying for them, claiming that “the creators already have enough money.”