What is an MP3 audio file and how does it work?


Free Download Mp4Gain
picture

What is an MP3 audio file and how does it work?

MP3 is a method of compressing audio files that uses the MPEG standard to reduce the size from 10 to 12 while maintaining audio quality comparable to a CD. MP3 files are usually used to store a song or the entire CD and require very little hard disk space.

mp3 compression

Because of the small file size, a computer can store hundreds or thousands of titles. Therefore, a 30 megabyte audio file recorded in uncompressed form from a CD is reduced to approximately 3 megabytes after “compressing” in MP3. When you download and play the MP3 file, it sounds almost like the original file. If you want, you can download an MP3 file, expand it to its original size, and then burn it to a recordable CD so that you can play it on a CD player.

All it does is toggle between different formats for easy downloading. MP3 compression works with a formula that, among other things, tries to eliminate some noise or frequencies that cannot be heard by the human ear. This method is commonly known as perceptual coding or psychoacoustic modeling. The remaining audio information is recorded spatially efficiently using the MDCT and FFT algorithms.

If we compare CD-quality digital audio, the compression achieved in an MP3 format is about 74%. For example, an MP3 file encoded at a constant bit rate of 128 kbit would produce a file that is approximately 10% the size of the original. For this reason, you can easily transfer a thousand songs in MP3 format to a USB stick, which would not be possible with songs in WAV format. Unfortunately, the benefits of this reduced file size come at a price. The quality of the MP3 title is not as good as the original due to the way the song is compressed.

The quality of an MP3 file depends on the so-called “sampling rate” or “bit rate”. MP3 bit rate The bit rate of an MP3 (or the sampling rate) refers to the amount of audio information (measured in Kb kilobits) that is played back per second. The higher the bit rate, the better the quality. Increasing the bit rate also increases the file size. The higher the quality, the less it can fit on the storage device.

There is a noticeable difference in the sound quality of MP3s with variable bit rates, especially when the file is played on a hi-fi audio system at high volume. If you compress MP3s yourself, it can be helpful to experiment with the bit rate to get better quality or more MP3 playback on your storage device. A good compromise between quality and file size is 192 kps. With this bit rate we get songs with a quality that is very similar to that of CD.

We can only tell the difference to a CD with high-quality headphones or hi-fi systems. On the other hand, if we want better quality, we should opt for FLAC files, ie an audio codec with lossless data compression, ie without loss of quality.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

MP3 – Everything you need to know about mp3

MP3 – Everything you need to know about mp3

The phenomenon of MP3 has revolutionized the Internet world, which has not been the same since then.
Never before have you seen a format that reduces an audio file from 40Mb to 4.
Truth be told, there was something similar, but the quality was not comparable to that
that the mp3 could achieve. But how the heck does this popular format called MP3 work?
This technology caused record companies to lose billions and save tens
(hundreds) of euros for us users?

mp3 format

The magic of the MP3 format.

Well, most of this “magic” resides in a science called psychoacoustics and a series of
very complicated mathematical calculations.
Uncompressed audio and CD audio store more data than our brains
can process and perceive. For example, if two notes are very similar and are together, your brain
you will receive only one of these. If there is a strong and weak sound, your brain will hear the loudest.
then your brain will not be able to hear the smallest sound.
The study of these phenomena and our perception of sound is called psychoacoustics.
MP3 compression technology analyzes sound and breaks it up, comparing it to models
sound included in the compressor itself. Will remove most mismatched sounds
to sound patterns and will keep the ones that match.

how mp3 works

 

The person performing the compression can specify the number of bits to be assigned to each
music second: the higher the number of bits and the less data will be deleted; with some bits in place
More sounds will have to be erased.
This type of compression is called lossy or lossy compression.
MP3 files are made up of a series of very short frames, as in the video, and
Each box is preceded by the header, which contains additional information about the data to come.
At the beginning or end of an MP3 file there is additional information about the file, such as the artist name,
Track title, album, year, genre and comments: This information is called ID3 data (tag).

How mp3 compression occurs.

As is known, the MP3 format eliminates what the human ear cannot hear.
These sounds are removed but there is a small part to not return
“drastic” cut.
But this is only part of the techniques used for compression … first:
the signal is analyzed and a decision is made on how to distribute the available bits, after which it is divided
in sub-bands, processed separately by algorithms.
The available bit rate is calculated, obtaining the number of bits that will be assigned to each frame.
This procedure determines how much audio will be kept and how much will be cut instead.
The frequencies of each frame are compared with the psychoacoustic models contained in the
compressor. From these models, it is determined which frequencies to elaborate with precision,
as perceived by human ear, and which can be partially removed or cut,
since we won’t be able to hear them anyway. Why save what is not needed?
Then the masking effects come into play: if there is a loud sound and a sound
weak it is possible to eliminate the latter, calculating the milliseconds during which it will not be audible.
Similarly, two overlapping sounds (due to intense intensity) or static parts of the sound.
(silence, whisper of sound) are cleverly masked.
Bitrates

How the sound chunks are removed also depends on the bit rate set by the user in
Compression moment. The bit rate corresponds to the number of bits per second used for the
file storage The higher the bitrate, the higher the resolution of the sound.
Imagine a movie: with multiple frames, the image will be fluid, in the same way at a bit rate
greater will correspond to a more complete sound, faithful to the original.

What are the advantages of WAV vs. MP3?

What are the advantages of WAV vs. MP3?

Wave is an uncompressed or lossless format, while MP3 is compressed or lossy. Technically .wav is just a container format and can contain various types of compressed or uncompressed audio, but normally you will see that it contains uncompressed LPCM audio (same as on audio CDs). With .wav files, you essentially get a raw bitstream representation of the audio signal in digital form. An analog sound produced in the real world essentially contains an infinite amount of information because it is a constantly changing wave (see below). To bring these sounds into the digital domain, you need to sample the signal at various intervals to approximate the sound. For .wav, the audio signal is generally sampled at 44,100 times per second or more, and each sampled value is recorded so that the sound wave can be played:

MP3 files are compressed to compress the same audio information into a smaller file size. The .wav format is ideal for very faithful representations of the analog signal, but as you probably know, that usually costs larger files. Compressed audio (and video in a similar way) is designed to reduce file size while maintaining a respectable level of fidelity. In simple terms, compression tries to remove unnecessary data from the stream and reduce the signal to its most necessary components. With MP3, compression and encoding algorithms use a model of how we listen to analyze audio in the frequency domain and remove any unnecessary information. For example, due to auditory masking if there are two sounds at close frequencies, we will often only hear the loudest if the volume difference between the two is significant. So for MP3, the lower volume sound could be ruled out and the audio would sound essentially the same to our ears. Learn more about the technical side of MP3 encoding here.

In practice, both .wav and MP3 have their uses. For production, .wav is the standard because it will almost always be a 100% accurate, bit-by-bit reproduction of the source material. MP3s can be a decent alternative at high enough bit rates. Bitrate is a measure of how many bits per second MP3 encoding will use, which means that the higher the bitrate, the closer the MP3 will be to the original uncompressed stream. Bit rate is generally measured in kilobits per second (kbps). I like the high audio quality for my digital music collection, so when I have a choice, I generally encode MP3 at constant 256 or 320 kbps. That’s the upper end of what MP3s are capable of, and unfortunately a lot of digital music isn’t encoded that high. When the bit rate drops, it can generally be heard first at the high frequencies, for example, the cymbals of a drum kit will sound. 160kbps is tolerable, but somewhat lower than that and you will really start to notice it. But then again, with a high enough bitrate, the differences between MP3 and .wav are barely distinguishable, especially for an untrained listener (most listeners).

For .wav files, we mainly look at the bit depth and the sample rate. Bit depth is the number of bits used to encode each sampled value. The sampling rate indicates how many times per second the audio is sampled. CD (.wav) and MP3 are encoded at a sampling rate of 44,100 Hz (Hertz means “cycles per second”). Newer computers and audio hardware / software are now accommodating higher sample rates, including 48kHz or 96kHz. For .wav, the bit depth is usually 16 bit or 24 bit on newer systems. For most purposes, when using .wav, 16-bit, and 44.1kHz is sufficient, but if you have the capabilities, it’s generally worth upgrading to 24-bit, 48kHz.

Some sample file sizes for a five-minute stereo recording:

.wav, 16 bit, 44.1kHz: 50 MB
.wav, 24 bit, 48 kHz: 82 MB
.wav, 24 bit, 96 kHz: 164 MB
MP3, 128 kbps, 44.1 kHz: 4.5 MB
MP3, 192 kbps, 44.1 kHz: 7 MB
MP3, 320 kbps, 44.1 kHz: 11 MB
FLAC, 24-bit, 44.1 kHz: 28 MB
FLAC, 24 bit, 48 kHz: 31 MB
FLAC, 24 bit, 96 kHz: 61 MB

There is also a variable bit rate option for MP3 encoding, which should offer slightly smaller file sizes for the same quality. It uses a coding scheme that changes (varies) the bit rate for different parts of the song depending on the complexity and how many samples would be needed to faithfully recreate a given section.

Is the mp3 officially declared dead?

What audio formats govern in 2019?

youtube music

At the end of last month, the Fraunhofer Institute for Integrated Circuits IIS, a German organization specializing in the development of applications and technologies, announced that the Technicolor mp3 licensing program “for certain related mp3 patents and Technicolor and Fraunhofer IIS software has been finished”. In other words: the creator of the audio format that ruled the world at the end of the nineties and the beginning of the new century gave him, with these words, the last nail to the coffin of the mp3.

“We thank all our licensees for their great support in converting mp3 into the defacto audio format in the world, during the last two decades.”

The IIS recognizes that although there are currently more efficient audio codecs with advanced features, the mp3 is still very popular. However, most video and audio streaming services use “modern ISO-MPEG codecs such as the AAC family or in the future MPEG-H. Those can deliver more features and higher audio quality at much lower bitrates compared to mp3 ”.

loseless codecs

The format was the protagonist of the change of the business model of the music industry, when digital technologies and the Internet began to facilitate the sharing of music. Buying a CD and compressing it in mp3 format to store the music on other media (recordable CDs, basically) and thus starting a process of hand-to-hand transmission of albums and discographies became daily bread (access to broadband and email capabilities at the end of the last century complicated making this diffusion through virtual media).

The AAC or Advanced Audio Coding is the format used in applications and services such as Apple Music and is capable of providing high quality audio without requiring large amounts of information. This algorithm exploits two strategies for this: it discards from the audio what is not perceptible to the human ear and eliminates the redundant signals in the coding (remember that this, like the mp3 and other streaming formats is a method of music compression, therefore it constitutes an interpretation of an audio originally edited in formats such as FLAC or Free Lossless Audio Codec, another digital compression format that, unlike its other pairs, does not register any loss in the quality of the compressed audio).

However, Spotify, the paid streaming service that reigns in the world with 100 million subscribers (although Soundcloud has a total of 175 million users), uses another format, the Ogg Vorbis (OGG), which in premium quality grants audios to 320 kbps (in the desktop version of the application, because in its mobile version they only reach half the quality).

Deezer, a competitor of Spotify, on the other hand, offers an Elite service, with audio streaming in FLAC format (16-bit, at 1,411 kbps) at twice the premium subscription of its rival.

As you can imagine, at better quality, larger files, mass consumption of memory and storage. Perhaps this was not the strength of the mp3: to offer a decent audio format, depending on the codec and the player, without requiring the use of too much information (although the flatness of its compression and the metallization of the organic sounds that the conversion to mp3 meant I had nothing lovely about it). Anyway, today is official: the king is dead, long live the king.