What is MP3?


Free Download Mp4Gain
picture

What is MP3?

MP3

“MP3” widely used in audio players. The official name is “MPEG-1 Audio Layer III”, which is the audio format for MPEG-1. The MP3 format itself is being standardized in parallel with MPEG as the video format, and in 1992 it will be standardized as “ISO / IEC IS 11172-3 (MPEG-1 Audio)”.

MP3

After that, MP3s will be distributed “as is” among enthusiasts, but this has not been a major advance since the introduction of the portable “mpman” audio player launched by SAEHAN International in South Korea in 1998. By combining this player, which can download and play music data over the Internet, with Napster, which appeared in 1999, the scene of portable audio players that used to carry cassettes, CDs, MDs, etc. it will change completely.

MP3s can also reduce the original data to less than one tenth. For example, it has become possible to compress a one-hour music CD to about 40MB and, using Napster, etc., we have established a new need for music sharing between users. After that, despite various “RIAA (Recording Industry Association of America)” procedures and the emergence of successor formats formulated by many manufacturers, MP3s remain a widely used audio. It is still used as a format.

■ MPEG

To understand the working principle of MP3, let’s first explain about “MPEG Audio” itself. A feature of MPEG Audio is that it uses auditory psychology, the lower audible limit of hearing, and the masking effect.

Let’s start with this minimum audible limit. In general, it is considered that humans can hear sounds in the range of 20 Hz to 20 kHz. Of course, this is an average value, and some people can hear a wider range, while others can only hear a narrower range, but this time I’ll drop it.

So if you can hear any sound in the 20Hz to 20KHz range, that’s not the case. The lower audible limit curve is shown in Fig. 1, and it is possible to hear even a fairly low sound around 2KHz, but at frequencies above or below it, it is heard that it is not considerably loud. .

You may have heard the term “volume curve”, which is the curve shown in Figure 1. Therefore, even if there is a sound source that sounds in a wide range from bass to treble (Fig. 2 ), the human ear has the characteristic that it can only be heard with both ends drooping (Fig. 3). By taking advantage of this and omitting all inaudible frequency data, a great deal of compression is made possible.

Masking effect

The masking effect is another phenomenon. For example, when a very loud sound is generated at a certain frequency, a specific area called “Critical Band” is created before and after that. And you won’t hear any of the other sounds included in this critical band.

When sound A is generated, the sloping area that extends to the before and after frequencies is the Critical Band. I can hear the part of the B sound that sticks out of the Critical Band without any problem, but I can’t hear the C sound that completely fits into the Critical Band.

In MPEG Audio, compression efficiency is further improved by omitting sound data that cannot be heard due to this critical band as before. By the way, the masking effect itself is effective not only in the direction of frequency but also in the direction of the time axis. In other words, not only immediately after a loud sound is generated, but also just before that, you cannot hear a small sound for some reason. This is called the temporary masking effect, but in Figure 5, sound B and sound C become inaudible. This is also effective for data compression.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

The mp3 phenomenon

The mp3 phenomenon

MP3

The MP3 music format (MPEG-1 Layer 3) is one of the most widely used digital audio formats in the world. It is compatible with all portable and stationary audio devices. In May 2017, the developers of the format announced his “death”.

mp3

On April 23, 2017, the Technicolor and Fraunhofer IIS licensed commercial program was canceled: the last patent included in the program expired, making the format standard in the public domain. Can we say that the days of the most popular format are numbered? MP3 development began in the late 1980s at the Fraunhofer Institute for Integrated Circuits (IIS).

In 1987, the University of Erlangen-Nuremberg and Fraunhofer IIS teamed up to work on the EU147 EUREKA Digital Audio Broadcasting (DAB) project. The first result of the alliance’s work was the LC-ATC codec, which made it possible to encode stereo music in real time. The next step was the development of an optimal frequency domain (OCF) coding algorithm, which already had some of the characteristics of the future MP3 codec. For the first time, it is possible to encode music in good quality at 64 kbps for a mono signal. OCF was the beginning of the path towards the standardization of MPEG (Moving Picture Expert), an organization, responsible for the development and implementation of international standards for the compression and transmission of digital video and audio content.

In 1989, MPEG received 14 proposals for the implementation of an audio coding standard, so participants were invited to combine their developments. This led to the emergence of four potential candidates, including MUSICAM from the Institute of Broadcasting Technology IRT and Philips and ASPEC (Adaptive Spectral Perceptual Entropy Coding), which is the result of further enhancements to OCF Fraunhofer IIS, as well as contributions from the University of Hannover in collaboration with AT&T and Thomson. After extensive testing, MPEG proposed combining MUSICAM and ASPEC to create a family of three encoding methods: Level 1: a low-complexity version of MUSICAM; level 2 – MUSICAM codec; Level 3 (later called MP3): based on ASPEC.

Technical development of the MPEG-1 standard was completed in December 1991. In 1994, Fraunhofer IIS introduced the world’s first MP3 encoder, the L3enc, and in 1995 the Fraunhofer researchers unanimously accepted “.mp3” as the file extension for MPEG Layer 3 [1]. Thanks to the compression algorithm used in the MP3 audio format, the size of the data required to reproduce the recording and ensure the quality of sound reproduction is significantly reduced to 10-12 times the original, depending on the recording bit rate. . Bit rate refers to the encoding / decoding rate of a digital audio stream; sound quality improves with increasing bit rate. The MP3 format has the following bit rates: 32 kbps (very low quality, acceptable only for voice), 96 kbps, 128 kbps (medium quality), 160 kbps, 192 kbps, 256 kbps, 320 kbps (highest best quality). The principle of the compression algorithm is as follows: during the compression process, the audio codecs analyze the signals, focusing on the audible fragments, which are saved for later playback or transmission.

This rules out sounds beyond the perception range of the human ear (20 to 20,000 Hz). That is why MP3 is called lossy. There are three ways to encode MP3 files: constant bit rate (CBR), variable bit rate (VBR), and medium bit rate (ABR). CBR is the default encryption mode. In this mode, the bit rate is constant for the entire file. This means that each part of the MP3 file uses the same number of bits. Regardless of the complexity of a piece of music, the encoder uses the same bit rate, so the quality of the final file is variable. Complex parts will be of lower quality than simpler ones. The main advantage of this mode is that the size of the final files does not change and can be accurately predicted.

When encoding in VBR mode, the user selects the desired quality on a scale of 9 (lowest quality, highest distortion) to 0 (highest quality / lowest distortion). The codec then tries to maintain a certain quality throughout the file by choosing the optimal number of bits for each part of the audio recording. The main advantage is the ability to specify the level of quality to be achieved, but a significant disadvantage is the unpredictability of the final file size. In ABR mode, the user sets the bit rate and the encoder tries to keep the average bit rate constantly while using higher bit rates for the parts of the music that require more bits. The

Size and quality of MP3 files

Size and quality of MP3 files

MP3 File

The MP3 file format is an “open format” supported by most manufacturers.

mp3 file

The MP3 format is one of the most common digital audio encoding formats. One feature of MP3 audio encoding is lossy encoding. However, the coding is based on a special model that takes into account the peculiarities of auditory perception. Therefore, the presence of losses does not lead to catastrophic sound degradation.

MP3 files have become a de facto standard and are compatible with the most popular operating systems, many CD and DVD players, and other devices.

Interestingly, the standard describes the actual storage format and not the way the sound is encoded. As a result, there are many tools available to play MP3 audio.

Special codecs are used to encode audio in MP3 format.
An audio codec can be of two types: hardware codec and software codec.

Hardware coding is done by special microcircuits.
Software coding is done using special computer programs.

Audio quality in MP3 format (all other things being equal) depends on the compression ratio (read the amount of loss) and the encoding program. That is why brand name players using well-known brand codecs and audio signal processing systems are significantly superior in playback quality to conventional devices assembled from standard assemblies.

The quality of actual playback depends on the size of the media data stream. The amount of data stream is sometimes called the stream width. There is a special term: bit rate. The data flow rate is defined in kilobits per second and is denoted kbs, kbps, kb / s. Recording can be encoded in several ways: constant bit rate and variable bit rate. Variable bit rate helps preserve details by increasing the amount of data.

Not all bit rates are suitable for high-quality music playback