All about Audio formats (2020)


Free Download Mp4Gain
picture

The algorithm used to compress and decompress files is called CODEC (acronym for compression / decompression). “Codec” is software that tells the computer which mathematical operations it must manipulate to compress them and which ones to perform to show them compressed.
Instead, the “format” is a kind of file that contains the codec and integrates it with the system.

Sounds are digitally recorded using a technique called “sampling”: the sound wave is divided into many pieces called samplers.

audio file formats

The quality of a digital audio track depends on:

– sampling frequency, measured Hertz (Hz, number of samples per second). A frequency at 11.025 Hz is suitable for recording voice, one at 22.050 Hz (medium quality) is suitable for recording a tape and one at 44,100 Hz for recording in CD quality. Reducing the sample rate leads to loss of quality.

– from termination, ie. the number of bits used (8.16, 24 to 32) for each ciampione (with 8 bits = 1 byte for 256 options, 16 bits = 2 bytes for 256 * 256 = 65,536 values ​​in the levels, and so on). Converting 16-bit to 8-bit samples cuts the original file in half, but also reduces the quality of the music.
– the number of channels: mono (1) or stereo (2).

bit rate: the product of these three elements: frequency, resolution, and number of channels are defined as bit rate, ie bits per second or bps. From this it can be deduced that every second there are 44,100 recorded values ​​which are then multiplied by the 2 stereo sound channels which are multiplied by 16 as the recording takes place in 16 bits (corresponding to 2 bytes). Then we get:

The bit rate for songs on audio CDs = 44,100 * 16 bit * 2 = 1,411.2 kbps (~ 10.6 MByte per minute 44,100 * 2 byte * 2 * 60)
The bit rate of an audio recording = 22,050 * 8 * 1 = 176.4 Kbps (~ 1.3 MByte per minute = 22,050 * 1 byte * 1 * 60)

Accordingly, compressing by reducing the total length of the file will reduce the average length of the subsequent ones, ie. it will reduce the average bit rate. Therefore, in these cases, the average bit rate becomes the index of the compression scope. For example, if the source file had a bit rate of 1,411 Kbit / if the compressed file had an average bit rate of 320 Kbit / s, we would have reduced by a factor of approx. 4.5.
Loss compression compromises the loss of information and the size of the final file, while a lossless compression must balance the size of the final file with the execution times of the algorithm.

losseless

The most popular lossless audio formats are:

-WAV sampling, Wave file (Waveform Extension), where wave means wave: standard format for audio files in the Windows audio sampling environment; It has large dimensions as it manages sampling frequencies of up to 44.1 kHz, 48 kHz and now also 96 and even 192 kHz, resolution of up to 32 linear bits and allows to store stereo or surround signals with a number
Unlimited in a single speaker file (equivalent to so many channels). The wave format is nothing more than digital recording of real sounds, sounds that have had
originates from a source external to the PC. In a WAV piece of music drums, piano, guitar, bass or
voice is heard in the same way, regardless of the PC to which the file is heard (to
obviously with the same acoustic quality of the hardware components).
-Aif (Apple Audio Interchange File Format or AIFF) similar to WAV format, is a format that generates good sound quality, is compatible with many browsers and does not require plugins. to Apple’s AIFF format. The Au format also manages more efficient quantization methods that allow a reduction in the amount of data by even 4 times the original value at the cost of a modest loss of quality.
-APE (Monkey Audio; .ape): Lost raw format that allows you to reduce the space occupied
our music about 50% (in some cases even more) without loss of quality. This way an album there
wav format has approx. 600 MB, has an average of 300 MB (much more than about 100 MB a
high bit rate and 60 mpc of an mp3, but the quality is identical to the original); I say, on average, because there is
certain types of music where the level of compression is even higher. To listen to songs in this format,
you can use plugins for WinAmp or, better yet, a player that integrates the native as
Foobar 2000. Right now it’s probably the best lossless codec considering a balance between
speed and compression (click here for lossless comparison table).


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What audio formats exist? All you need to know.

FLAC, WAV, AIFF, DSD … these are just some of the acronyms you can find when looking for a digital format. They are also accompanied by technical data such as sample rates and bit depth. So many terms can leave you more misplaced than a chicken in a dance. And unless you are an expert in digital sound, the process to choose the audio format that best suits your needs can be a mess. But if they explain it to you, the subject is relatively simple. That is why in Culturasonora we have prepared a complete guide on the different audio formats used.

Audio formats: OGG vs Opus vs FLAC vs ALAC

Nowadays a lot of the music that is heard sounds through online platforms. It is worth talking about the audio formats used by services such as Spotify, Tidal, or Apple Music.
What is the OGG format?
OGG audio formats are like supercharged MP3s. They are compressed audio files, which means that they have a size that allows transmission via WiFi, but at the same time they avoid damage that is usually generated in the compression process. Spotify uses these OGG formats. Depending on how much you want to pay for this service you can listen to them through this portal with different sample rates: from 96 kbps, to Premium 320 kbps files. The audio quality provided by Spotify for Premium users is quite good.
What is the Opus format?
Opus is a new codec that uses the Ogg container. It was developed by the same creators of FLAC, with the help of Mozilla and Skype. It can handle up to 510 kbps and 48 kHz. This new format stands out for its low latency, so it is ideal for online audio streams. Its average latency of 22.5 ms is well below other codecs. It is versatile, open and more and more platforms are adopting it.
What is the FLAC format?
With FLAC audio codecs the sound quality increases with respect to the OGG. They are Lossless, or lossless, audio formats that perform a great trick: they compress file sizes up to 60% without losing quality. In addition, they allow the transmission of sample rates of up to 1,411 kbps, which is much higher than any other audio format. This is the format used by the Tidal platform, the best service for high quality audio transmissions.
What is the ALAC format?
Finally we have the ALAC (Apple Lossless Audio Codec). This format is basically Apple’s alternative to FLAC. It is the format used by Itunes and for Apple Music broadcasts.

What is the difference between the different audio formats, and which one should I choose?

There are two types of sound quality: lossless and lossless. Lossless music preserves the sound quality of the original source – in most cases, CD – intact, on the other hand, lossy music compresses the file to save space (in exchange for decreasing quality). The following formats are included in lossless formats:

loseless formats

Formats WITHOUT loss of quality:

WAV and AIFF: Both are uncompressed formats, which are exact copies of the original sound source. The two formats have essentially the same quality; They simply store the data differently. AIFF was created by Apple – you’ll see it often in its products – but WAV is much more universal. However, since they are not compressed, they take up too much unnecessary space. Unless you’re editing sound, we don’t need to use this format.

FLAC: Free lossless sound codec – Free Lossless Audio Codec (FLAC). It is the most used lossless codec, it is a good option if we seek to store our music without losing quality. Unlike WAV and AIFF, it uses compression, taking up less space. However, it is still a lossless format, which means that the sound quality is the same as the original source, so it is better to listen to than WAV and AIFF. It is also free and free software, which is useful if you like to take a look at how it works.

Apple lossless (Apple Lossless): Also known as ALAC, it is similar to FLAC. Use compression, although it is made by Apple. Its compression is not as efficient as that of FLAC, so the files will be a bit larger, but it is compatible with iTunes and iOS (FLAC not). Therefore, if you use iTunes or iOS as the main software for listening to music, you should choose this format.

APE: It is a file of very high compression without losses, which means that you will save more space. The quality is the same as FLAC, ALAC and other lossless files, but it is not compatible with most players. On the other hand, it makes the processor work harder to decode when it is so compressed. Generally, I would not recommend using this format unless you are very concerned about space and have a compatible player.

Formats with losses: MP3, AAC, OGG and more

MP3: MPEG Audio Layer III, or MP3 for short, is the most common lossy format. So much that it has become synonymous with music downloads on the internet. It is not the most efficient format of all, but it is undoubtedly the most compatible, making this the first option to choose between lost sounds.

AAC: Advanced Audio Coding, also known as AAC, is similar to MP3, although a bit more efficient. Which means that the files take up less space and with the same sound quality as MP3. And, with Apple’s iTunes making it so popular, it’s as compatible as MP3.

Ogg Vorbis: The Vorbis format, often known as Ogg Vorbis due to the use of the Ogg container, is the free software version to MP3 and AAC. Its main attraction is that it is not restricted by patents, but that does not affect you as a user – in fact, despite being open it is of similar quality, and much less popular than MP3 and AAC, so not all players support it . I do not recommend it unless you are interested in the fact of being open source.

WMA: Windows Media Audio. The proprietary format of Microsoft, similar to MP3 or AAC. It really offers no advantage over the other formats, and is not very well supported.

So which audio format should you use?

Now that we have seen the differences between each format, which one should we use for our music? In general, we recommend using MP3 or AAC. They are compatible with most players, and the quality of both is very similar to that of the original source if it is encoded with a high bit rate. Unless you have specific needs, MP3 and AAc are the most recommended options.

However, there is something to say to store music in lossless formats such as FLAC. Although we probably don’t notice a higher quality, it is good to store music if you plan to convert it to other formats later – since converting from one format with losses to another Lossy (eg, from AAC to MP3) will produce lower quality files. In that case we recommend FLAC. In addition, we can choose the lossless format we want, since converting between formats without losses does not degrade the quality of the file.

As a final conclusion, we can say that one should not become obsessed with the subject. We just have to be sure to choose something widely compatible, not convert between two formats with losses, and enjoy music.

An advantage is that Mp4Gain works with all these fromatos (and more) and you can convert from one to another, without problems or loss of quality, on the contrary, with tools like the Equalizer, you can improve the sound to your liking.