VBR vs CBR


Free Download Mp4Gain
picture

At the beginning of 2002 other compressed audio formats such as Windows Media Audio and Ogg Vorbis began to be massively included in programs, operating systems and autonomous players, which made it anticipate that the MP3 was gradually falling into disuse, in favor of other formats, such as those mentioned, of much better quality.

One of the factors that influences the decline of MP3 is that it has a patent. Technically it does not mean that its quality is inferior or superior, but it prevents the community from continuing to improve it and may force you to pay for the use of some codec, this is what happens with MP3 players.

New formats, such as OGG Vorbis, are not licensed, but are free SOFTWARE. That is why they can be used and improved without conditions. Even so, at the beginning of 2008, the mp3 format continues to be the most used and the one that enjoys the most success.

 

Mp3 – The psychoactive model and masking threshold

The psychoacoustic model and masking threshold

Compression is based on the reduction of irrelevant dynamic range, that is, on the inability of the auditory system to detect quantification errors under masking conditions.

The human ear has a perceptual masking threshold for its characteristics. If an airplane passes by us while we speak, the sound it produces is able to “cover” our voice. The same happens if a very strong DO note, on a trumpet, sounds at the same time as a pianisimo DO note on a violin: the DO of the trumpet, masks the DO of the violin, which is not heard.

This is due to the anatomy of the human auditory system: if two sounds of equal frequency are emitted, one with greater amplitude (volume) than the other, the sound of greater amplitude will mask that of amplitude (volume) than the other.

The psychoacoustic model is an average standard that divides the signal into approaching frequency bands, and then quantifies each subband based on the threshold of noise detection within that band. This model analyzes the audio signal and calculates the amount of noise that can be introduced based on the frequency, that is, calculates the “amount of masking” or
masking threshold as a function of frequency. Then, the encoder uses this information to decide the best way to spend the available bits.

Studies show that the distortion generated is imperceptible to the ear experienced in an optimal environment from 256 kbps and under normal conditions. For the non-experienced ear, or common, with 128 kbps or up to 96 kbps it is enough for it to be heard “well” (unless you have a high-quality audio equipment where the lack of bass is noticeably noticed and the sound is highlighted of “frying” in the treble).

In people who listen to a lot of music or who have experience in the auditory part, from 192 or 256 kbps it is enough to hear well. The music that circulates on the Internet is mostly encoded between 128 and 192 kbps.

MP3 – BItrate, CBR and VBR

CONSTANT AND VARIABLE BITRATE

CBR (constant bit rate)

It encodes the entire entire file with a single bit rate.

This method is the most common, and it becomes more predictable, always according to a file size and bandwidth. The file will be compressed to weigh a number of bits per second.

The bitrate is then measured in kbps (kilobites per second), the quality being better as much more bits per second weigh the file. In general, the most basic quality is
Around 128kbps, and the highest (for more educated ears) around 320kbps.

VBR (variable bit rate)

It encodes with a higher bit rate when the material is more complex, and a smaller amount of bits for simpler materials. By relying not only on the statistical references of the threshold of
average masking, but also of the source material, the .mp3 files compressed with VBR tend to be smaller than those compressed with the CBR method (they are the same quality) to have a more variable weight,

The quality is therefore no longer measured in kbps, but in levels (100 for the best quality – highest quality – and decreasing in the number for lower quality 10- lowest quality,)


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What is the constant and variable bit rate in an MP3?

The FLAC format is more modern and with less loss of quality than MP3 but with a much larger file size, so MP3 remains one of the most widespread and used digital audio formats. With MP3 encoding at 320 kbps, excellent quality is achieved for most domestic digital audio players and for the human ear itself. But what is the difference between MP3 with a constant bit rate and a variable bit rate? Let’s clear the doubt.

Constant Bit Rate vs. variable bit rate

The variable bit rate coding method, known by the acronym VBR (Variable Bit Rate), is intended to achieve the highest audio quality evenly throughout the entire music track by performing an intelligent bit allocation during The coding process. That is, the Bit Rate varies to keep the audio quality as constant as possible throughout the file. In general, the MP3 encoding method with a variable bit rate produces a higher quality level than the constant bit rate coding for a similar Bitrate encoding.

Constant bit rate coding (CBR – Constant Bit Rate), meanwhile, is an encoding method that, instead of varying the bit rate, varies the audio quality to adjust to a fixed and constant bit rate at length of the MP3 file.

When to use a Constant Bit Rate?

If your priority is to get a certain MP3 file size, or at least a more or less predictable size, you should use a constant Bit Rate encoding.

When using a constant Bit Rate, the final file size is predictable although the quality of the MP3 audio will not be constant along the audio track.

When to use a Bit Rate Variable?

Bit Rate Variable encoding was developed for use when the main priority of MP3 encoding is a consistent quality throughout the track and the final file size is not the most important.

In an audio track some sections will be more difficult to code than others. Coding with Constant Bit Rate will encode the audio at the same Bit Rate set in advance, both in these more complex sections and in the easier sections. On the contrary, the coding with Bit Rate Variable will assign less bits in the easiest sections and will assign more bits when the section requires it because of its complexity. In this way, VBR encoding achieves a more uniform audio quality throughout the entire MP3 while the CBR achieves a constant Bit Rate.

In other words, if you use Constant Bit Rate the quality will be varied to reach the specified Bit Rate while using a Variable Bit Rate the Bit Rate is varied to achieve the highest possible and uniform quality.

All this does not mean that you don’t have to specify a Bit Rate for VBR encoding. Normally a fork will be specified, for example, 192-320 kbps, which means that a minimum of 192 kbps will be allocated for the easiest sections and up to a maximum of 320 kbps in the most complex sections of the music track.

The negative part is that MP3 encoding with Bit Rate Variable is not supported by some players. For me this disadvantage is part of the past and only if you try to play an MP3 in a really old player will not be able to read the file.