
Destructive compression is compression obtained by losing information. This means that if you extract the compressed signal with this technique, you will not find the start signal.

In destructive compression techniques, there are basically methods that take advantage of the properties of the human ear. The latter listens to frequencies between 20 Hz and 20 kHz. If a song contains frequencies outside this range, we can easily delete them without losing the audio quality because the ear does not hear them. In fact, frequencies between 2 kHz and 5 kHz are generally heard correctly. In fact, less than 5 dB is required to hear frequencies in this band, while more than 20 dB is required to hear frequencies below 100 Hz or above 10 kHz. These results can be used to reduce the size of the files. For example, we can conclude that all frequencies above 15 kHz are suppressed.

MP3 also uses the principle of masked frequencies. If in a frequency group some have a much higher noise level than others, it is not necessary to keep the frequencies low – we will not hear them. Imagine yourself in your garden listening to the birds sing. The chord goes over your head (even very high). We no longer listen to birds because the sound they make is much quieter than that of the plane. It is as if the birds no longer exist or have stopped singing. Obviously, it is not necessary to code all the frequencies present in a song so that the human ear can always perceive it well. Finally like the two ways
What do we find among non-destructive techniques?
Mainly coding techniques.
Let’s explain. A sound is a frequency. A second of music is therefore a sequence of frequencies. Imagine that in the series of samples that make up a second of music (remember that there are 44,100), we have the same frequency several times in succession, for example 10 times. If instead of storing these 10 points, we only store 1 and the number of times it is repeated, we must encode 2 digits and not 10. If we also apply this method to frequencies which are no longer identical, but very dense together (so close that the average human ear cannot distinguish them), we can still save space. This time, the compression is destructive because we are replacing one frequency with another frequency (almost identical).
MP3 also uses the algorithm of Huffman (1952) as a method of encoding information. This method is used in all compression algorithms (compression of text files, compression of images, compression of sound). It is based on the use of a variable length code and the probability that an event (in this case a frequency) will occur. The more a frequency appears, the shorter the code (low number of bits to display it). The file is read for the first time and a table appears with the frequencies that appear and the number of times they appear. We derive the right code. This encryption was last used. It is the final phase of compression. This is non-destructive coding.
MP3 works on the properties of the ear, first to reduce the size of a part, then processes the stereo sound and possibly applies encodings which end with Huffman encoding.
The use of all the reduction options mentioned depends on the location you want to give within 1 minute of your tablet and therefore on the compression speed to apply.
To encode MP3 audio files, we are talking more in terms of bit rate than compression rate.
Bit rate is the number of bits allowed in 1 second.
Therefore, we have the following relationship: the more we want to compress a song (so that it takes up the least space possible), the lower the bit rate.
Choice of compression ratio (bit rate)
Obviously, the more you compress, the worse the sound quality.
You have to compromise the file size and audio quality.
This commitment can be dictated by your needs, but also by the use you want to make of your MP3 files. It may not even be demanding if your MP3s are intended for your portable music player and are too demanding to be listened to on a stereo system.






