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

Advantages and disadvantages of MP3 technology

Advantages and disadvantages of MP3 technology

In the Internet age, MP3 became a de facto standard for digital audio files. With the popular Napster peer-to-peer application, music lovers can exchange MP3 files so they can get songs without paying for them. This article has been written to highlight the advantages and disadvantages of MP3, as well as to help you decide if you want to convert your existing music files in some other format to MP3 or not.

Advantages of MP3

The advantage of MP3 is its high fidelity. The quality of an MP3 file is determined by its bit rate. The bit rate is measured in kilobits per second. The bit rate of an MP3 file can range from 8 kbps to 320 kbps. You should save your songs at 160kbps if they don’t like it very much and don’t put them at the top of the list of MP3 players. Keep your songs at 192kbps if you like them a little. Use 256kbps for the songs you like. And using 320kbps for your all-time favorite songs. Anyway, even a 320kbps MP3 doesn’t sound as good as the song’s WAV file version. But a 320kbps MP3 takes up four times less space than a WAV file. To use an analogy, an MP3 file is a WAV file, which is a JPEG image to a BMP image.

The second advantage is that it can be played by many types of devices, such as CD players and Apple’s iPod. You can also play MP3 files with multimedia players like Winamp, Windows Media Player or QuickTime. The third advantage of MP3 ID3 tags. The ID3 tag of an MP3 file stores the artist name, song title, year, and genre. You can also create your own playlists.

Another benefit of MP3 is that encoding is easy. It’s easy to rip audio CDs, and as easy as burning custom MP3 CD-R files. The encoding speed is also very fast, it also depends on the speed of the CD drive. It takes very little time to produce MP3 files. You can use lossless audio compression if you have a lot of free disk space and lossy audio compression if you have little free disk space. MP3 LAME encoders, as they are free and open source, so that everyone can contribute to their development.

Another point in favor of MP3 is that the distribution is simple. MP3 files can be downloaded through HTTP or FTP sites. You can also distribute MP3 files through portable storage devices, such as USB flash drives. You can also buy MP3s from online music stores like iTunes and eMusic.

You can also use a server to transmit these files. The MP3 stream uses a playlist format, such as M3U (meaning MP3 URL) or PLS. MP3 Streaming is also used by Internet radio stations. You can embed MP3 streams with the help of a Flash player. You can have different rates of dial-up and broadband connections. MP3 audio is not saved on the hard disk.

Problems with MP3

A downside to MP3 is that it takes up quite a lot of storage space. Since an MP3 file usually takes up to 5 megabytes (MB) of disk space, the number of files that can be stored is limited. Also, the relatively large size of an MP3 file makes downloading the file slow if you have a slow Internet connection.

Another problem is that the song may skip in random places. This occurs especially if you have a slow computer and simultaneously with several programs that are hogging the processor. It is not technically free. You will also need an MP3 decoder if you want to convert audio from MP3 format to WAV format. The MP3 format has very little security available. For example, people using the Morpheus file sharing service had their computers accessible by hackers.

Another limitation is that this file is not the highest format fidelity for audio files. Other audio formats, such as Ogg Vorbis and Advanced Audio Coding (AAC), are superior to MP3 in terms of quality. AAC is the format used in Apple iTunes player. However, MP3 is still the most popular audio format in the world.

The advantages and disadvantages of MP3, which I have listed, will help you make an appropriate decision before going for music download next time.

How is an mp3 analyzed inside?

How is an mp3 analyzed inside?

MP3 is the acronym for MPEG 1 Layer 3 and is a lossy digital audio format developed by MPEG (Moving Picture Experts Group) in conjunction with the Franunhofer Institute of Technology to include it as an audio format for the MPEG-video format. 1. It is currently an ISO (International Organization for Standardization) standard. The reason it has become so popular is that it allows for high sound quality in very little storage space: About 650 songs can be recorded on a 650MB CDROM, in instead of the 15 that we could store following the format of traditional CD-Audio. Furthermore, it is possible to adjust the quality of the output file by adjusting the bitrate (sampling rate and number of bits per sample), which will be proportional to the size of the output file. Thanks to its small size, high quality and versatility, it became a standard for streaming.

It was said at the beginning that MP3 is a lossy algorithm, this means that the original and encoded sound are not exactly the same. For this, the MP3 takes advantage of the “deficiencies” of the human ear, specifically 3 of them:

Limits of hearing in frequency: The human ear is only capable of hearing frequencies that are approximately between 20 and 20,000 KHz, with which the rest are filtered and discarded as they would not add relevant information to the encoded signal. Also, the closer you are to the 2-4 Khz range (and harder to hear as the frequency gets closer to the extremes of hearing), the more audible it will be.
Masking effect: When 2 signals of similar frequency overlap, human hatred is only able to hear the one with the highest power (volume), therefore, the rest can be eliminated without appreciable loss of quality.
Stereo redundancy: Sometimes there is redundancy between the 2 channels and, furthermore, below a certain frequency, the human ear is not able to distinguish the directionality of the sound with which a single channel can be encoded and add to the other certain complementary information to not lose the spatial sensation of the other channel.
To carry out the three previous proposals, a system based on subbands is used in which the signal is filtered using several filters in order to have the signal separated into sub-signals, each covering a frequency range. Each of these bands is compared to a psychoacoustic model that determines which bands are important and which can be removed.

Specifically, a hybrid polyphase / MDCT (Modified Discrete Cosine Transform) filter bank is used: A filter bank is a set of band-pass filters that aim to separate the original signal into several frequency bands; A multiphase / MDCT hybrid filter bank is nothing more than a normal filter bank together with a block capable of doing the discrete cosine transform (MDCT).

The choice of which bands are maintained and which are removed is made by calculating the masking threshold, that is, it analyzes each audio sub-signal and calculates the amount of noise that can be input (signal is replaced by noise to save storage space) in function of the frequency, taking into account that a frequency masks signals of a higher frequency than yours rather than lower, without being noticeable to the human ear.

The following figure outlines the process described above:

The following figure represents the structure of an mp3 file:

As can be seen, an Mp3 file is made up of different frames which in turn are made up of an Mp3 header and MP3 data. Each of the frames is independent, that is, a person can cut the frames of an MP3 file and then play them back. The graph shows that the header consists of a sync word that is used to indicate the beginning of a valid frame. Following are a series of bits that indicate that the analyzed file is a standard MPEG file and whether or not it uses layer 3.

MP3 undoubtedly owes its success to Internet music downloads and portable audio players capable of playing the format. First, Discman compatible with MP3 were born, which allowed transporting 175 songs per cd instead of the usual 6. Subsequently, MP3 players based on a (small back then) flash memory were born. These had the advantage of being much smaller and lighter than portable CD players, but with the initial disadvantage that flash memory was small and expensive. Initially these devices had 64 or 128 MB memory, which allowed them to store between 16 and 32 songs. Currently these devices are sold with a memory of 1,2,4 or even 8GB. This allows them to store between 256 (for the 1Gb model) and 2048 (for the 8GB model)