Everything you need to know about audio files … compressed and uncompressed


Free Download Mp4Gain
picture

Everything you need to know about audio files … compressed and uncompressed

Regardless of whether you’re listening to MP3 files or high-definition audio, it’s time to find out exactly which file format is best for your needs.

audio formats

As you organize your digital music collection, you may be impressed by the number of different audio file formats you have collected over the years. For this reason (and since a good review doesn’t hurt anyone) we’d like to deepen the discussion of the most common audio file formats, explain the differences and explain why you should be interested in learning more about them. Whether you’re listening to low quality MP3 files, slightly better AAC tracks, or high definition audio in FLAC or WAV, it’s time to find out exactly what you’re dealing with and which file format best suits your needs.

formats and codecs

File formats and codecs

Below is a list of all common audio file formats and the differences between them.

-AAC (no high resolution): Apple’s alternative to MP3. It’s a compressed audio format, but it sounds better than MP3 and is used to download music from iTunes and stream via Apple Music.

-AIFF (high resolution): Apple’s alternative to WAV, but with better metadata support. It’s an uncompressed and lossless format, but it’s not very popular.

-DSD (High Resolution) – The uncompressed single bit format for super audio CDs. It is available in the 2.8 MHz, 5.6 MHz and 11.2 MHz variants, but due to its high-quality codec it is (currently) not suitable for streaming.

-FLAC (High Resolution) – This lossless compression format supports high-resolution sampling rates, takes up about half the WAV space, and stores metadata. It is license-free and is the preferred format for downloading and storing albums in high resolution or CD quality. The disadvantage is that it is not compatible with Apple (therefore it is not compatible with iTunes).

-MP3 (not high definition): Lossy, compressed format that guarantees small file sizes, but is far from the best possible audio quality. However, it is still very convenient for storing music on smartphones and other mobile devices and is widely used.

-MQA (High Resolution) – A lossless compression format with high resolution files for more efficient transmission. It is used for high-resolution streaming from Tidal Masters and other similar services.

-OGG (not high resolution): Sometimes you can find him by his full name, Ogg Vorbis. An open source and compressed alternative to MP3 and AAC that is not limited by patents. This format is used (at 320 kbit / s) to stream Spotify.

-WAV (High Resolution) – The standard format in which all audio CDs are encoded. Excellent sound quality and no compression, which means large files (especially for high-resolution files). However, metadata (album art, artist information, and song title) are hardly supported.

-WMA Lossless – An uncompressed embodiment of Windows Media Audio, but is no longer supported by smartphones or tablets.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

The 10 most common audio formats: which one to use?

The 10 most common audio formats: which one to use?

Audio files are available in all types and sizes. And although we are all familiar with MP3, what do you think of AAC, FLAC, OGG or WMA? Why are there so many audio standards? Which are important and which to ignore?

It’s actually quite easy to find that all audio formats fall into three main categories. Once you know what the categories mean, you can simply choose a format within the category that best suits your needs.

Uncompressed audio formats

Uncompressed audio consists of actual sound waves that have been captured without further processing and converted into a digital format. As a result, uncompressed audio files are usually the most accurate, but take up a lot of space, about 34MB per minute for 96-bit and 96-bit stereo.

Audio file format: PCM

PCM stands for Pulse Code Modulation, a digital representation of analog audio signals. Analog tones exist as waveforms, and in order to convert a waveform into digital bits, the tone must be sampled and recorded at certain intervals (or pulses).

This digital audio format has a “sample rate” (how often a sample is taken) and a “bit depth” (how many bits are used to represent each sample). No compression is required. The digital recording is an almost exact representation of the analog sound.

PCM is the most common audio format used on CD and DVD. There is a PCM subtype called Linear Pulse Code Modulation, in which samples are taken at linear intervals. LPCM is the most common form of PCM, so the two terms are almost interchangeable at this point.

Audio file format: WAV

WAV stands for Waveform Audio File Format (at some point also called Audio for Windows, but no longer). It is a standard developed by Microsoft and IBM in 1991.

audio formats

Many people believe that all WAV files are uncompressed audio files, but that’s not exactly true. WAV is actually a Windows container for various audio formats. This means that a WAV file may contain compressed audio, but this is rarely used.

Most WAV files contain uncompressed audio in PCM format. The WAV file is just a container for PCM encoding, so it is more suitable for use on Windows systems. However, Mac systems can generally open WAV files with ease.

Audio file format: AIFF

AIFF stands for Audio Interchange File Format. Similar to how Microsoft and IBM developed WAV for Windows, AIFF is a format developed by Apple for Mac systems in 1988.

Similar to WAV files, AIFF files can contain several types of audio formats. For example, there is a compressed version called AIFF-C and another version called Apple Loops that is used by GarageBand and Logic Audio. Both use the same AIFF extension.

Most AIFF files contain uncompressed audio in PCM format. The AIFF file is just a container for PCM encoding, making it more suitable for use on Mac systems. However, Windows systems can generally open AIFF files with ease.

Lossy compression audio formats.

Lossy compression occurs when some data is lost during the compression process. Compression is important because uncompressed audio takes up a lot of space.

In other words, lossy compression means that the sound quality and fidelity for smaller files are affected. If you are hurt, you will hear artifacts and other oddities in the audio. But if done correctly, you won’t feel the difference.

Audio file format: MP3

MP3 stands for MPEG-1 Audio Layer 3. It was released in 1993 and is becoming increasingly popular. It is the world’s most popular audio format for music files. There is a reason why we had “MP3 players” but no “OGG players”!

The main purpose of MP3 is in three ways: 1) removing all audio that is out of the normal human hearing range, and 2) reducing the quality of inaudible sounds, then 3) compressing all the other audio as efficiently as possible.

Almost every digital device in the world with audio playback can read and play MP3 files, be it PC, Mac, Android, iPhone, Smart TV or anything else. If you need a universal device, MP3 will never disappoint you.

Note: MP3 is not the same as MP4!

 

Audio file format: AAC

AAC stands for Advanced Audio Coding. It was developed in 1997 as the successor to MP3 and although it has become popular as a format to be used, it has never surpassed MP3 as the most popular.

The compression algorithm used by AAC is much more advanced and technical than MP3. So if you compare the same recording in MP3 and AAC format with the same bit rates, the AAC generally has better audio quality.

Although MP3 is a more popular format, AAC is still widely used today. In fact, this is the standard audio compression method used by YouTube, Android, iOS, iTunes, later Nintendo laptops, and later PlayStation.

Audio file format: OGG (Vorbis)

OGG represents nothing. In fact, it’s not even a compression format. OGG is a multimedia container that can contain all types of compression formats. However, Vorbis files are most commonly used. Therefore, these audio files are called Ogg Vorbis files.

Vorbis was first released in 2000 and is growing in popularity for two reasons: 1) it conforms to the principles of open source software and 2) it works significantly better than most other lossy compression formats (ie) this results in a smaller file size for an equivalent sound quality.

MP3 and AAC are so strong that OGG struggles to get into the spotlight – not many devices support them natively, but they do improve over time. It is currently used primarily by supporters of hardcore open source software.

Audio file format: WMA (lossy)

WMA stands for Windows Media Audio. It was first published in 1999 and has gone through several developments since then, always keeping the same name and WMA extension. It is a proprietary format created by Microsoft.

Similar to AAC and OGG, WMA should fix some of the errors in the MP3 compression method, and it turns out that WMA’s approach to compression is very similar to that of AAC and OGG. Yes, in terms of the quality of objective compression, WMA is really better than MP3.

However, since WMA is proprietary, it is not supported by many devices and platforms. In addition, it offers no real advantage over AAC or OGG. If MP3 is not good enough, it is only more practical to use one instead of WMA.

Audio formats with lossless compression.

The opposite lossy compression is lossless compression, in which the size of an audio file is reduced without loss of data between the source audio file and the compressed audio file.

The disadvantage is that lossless compressed audio files are larger than lossy compressed audio files, up to 2 times 5 times larger for the same source file.

Audio file format: FLAC

FLAC is an abbreviation for Free Lossless Audio Codec. Maybe a bit on the nose, but it has quickly become one of the most popular lossless formats since its launch in 2001.

The good news is that FLAC can compress an original source file by up to 60 percent without losing a single bit of data. What’s even better is that FLAC is a free, open source audio file format, so there are no intellectual property restrictions.

FLAC is compatible with most major programs and devices and is the primary alternative to MP3 for music. You basically get the full quality of uncompressed audio with half the file size. That is why many see FLAC as the best audio format.

Audio file format: ALAC

ALAC stands for Apple Lossless Audio Codec. It was developed and published as a proprietary format in 2004, but became open source and copyright-free in 2011. ALAC is sometimes referred to as Apple Lossless.

While ALAC is good, it is somewhat less efficient than FLAC in terms of compression. However, Apple users cannot choose between the two, as iTunes and iOS offer native support for ALAC and no support for FLAC.

Audio file format: WMA (lossless)

WMA stands for Windows Media Audio. We already discussed this in the lossy compression section, but we explained this here because there is a lossless alternative called WMA Lossless that uses the same extension. Confused, I know.

Compared to FLAC and ALAC, WMA Lossless is the worst compression efficiency, but not much. Since it is a proprietary format, it is not suitable for open source software enthusiasts, but is natively supported on Windows and Mac systems.

The most used audio formats

The most used audio formats

audio formats

As you can imagine, when we talk about digital formats in the field of sound, the range is wide. When choosing the one that best suits our needs, we need to think about several questions. To do this, the first thing to do is to know the most used audio formats.

We start by clarifying the concepts of bit depth and sample rate, which are essential for understanding how audio formats work. These are two measurements that indicate the quality of a digital audio file.

When we read the specifications for audio formats and find, for example, 32 bit / 192 kHz and 24 bit / 96 kHz, these figures refer to “bit depth” and “sampling frequency”, respectively. They tell us the amount of information transmitted by the different formats and the quality of the sound. The more times a device reads samples, the higher the quality.

audio format

Audio formats

-MP3: These files weigh very little for any device to read. The downside is that the quality of compression is sacrificed.
online CPA sound postproduction course

-WAV (Waveform Audio File Format): These are higher resolution files than MP3, an audio track which is coded with what is called Pulse Code Modulation (PCM). Analog audio tracks are encoded and converted to digital so that they can have sample rates and bit depth.

-AIFF (Audio Interchange File Format): it is very similar to WAV and also uses PCM to encode analog audio tracks and present them in digital format. Indeed, AIFF and WAV files are more or less interchangeable.
In short, when we talk about a file in WAV or AIFF audio format, we are talking about a good quality piece of sound.

What are the digital audio formats?

What are the digital audio formats?

PCM, Wav, Aiff. Compression. Mp3, Ogg, Wma.

Working with digital audio is almost a chore for puzzle specialists. Since audio is saved on the computer and all computer files have extensions, we have to interpret each acronym and abbreviation.

The extension is the end of the file after the name and period. It is used to know what type of file it is, whether it is a text, a video or an audio. There are many extensions and they are all sure to sound familiar to you: WAV, RM, MP3, WMA, OGG … Let’s play, then, to decipher puzzles and see what each of these acronyms means.

 

 UNCOMPRESSED DIGITAL AUDIO FILES

.PCM

It is not a file type or format, but a technique of transforming analog to digital audio without any compression. (1) Therefore, we do not see audios with the pcm extension. We work with PCM when digitizing, but we always keep files with one of these extensions:

.WAV: (Wave, wave in English)

It is the most widely used uncompressed digital audio format. It belongs to Microsoft / IBM.

.AIFF: (Audio Interchange File Format)

It is similar to WAV but for Apple Macintosh or MAC computers.

.CDA

: These are the audio tracks recorded on Compact Disc that also use the PCM system.

All uncompressed files are large. Approximately 10 megabytes for every minute of audio. These are the formats used to store audio at a professional level since the quality is very good. But when we don’t need that much quality and we’re short on space, it’s time to use file compression.

 AUDIO COMPRESSION

Compressing is reducing and whenever we reduce we lose something. The same is true for digital audio. The latest advances have allowed compression to be done with the least possible loss of quality, but there always are. Against that, much has been gained in reducing the size of the files.

While a 4-minute audio in WAV format takes approximately 40 megabytes, that same audio, compressed to MP3, can reduce its weight to 4 megabytes, 10 times less. And apparently, they sound the same. (2)

SAVE WITHOUT COMPRESSING

When working in production, it is always recorded in WAV, without compression. In that same way it is edited and mixed. If the final result of the edition is an audio to be uploaded on the Web or saved on the hard drive of a computer, we can compress it to mp3 but with a quality of no less than 160 kbps.

If, on the contrary, the production has as its final destination to be recorded on a CD, never compress, always leave the audio in WAV and burn it that way on the CD.

1. How does compression work?

It is not about wrinkling or crushing the audio. Most audio compression systems take advantage of a “defect” in our ears to reduce file size. It is called masking.

Masking is a property of the human ear that prevents it from distinguishing two frequencies close together within the same range, one masking the other. For example, if a sound with a frequency of 12 Khz and another of 12.2 Khz sounds at the same time in a song, we could remove one of the two without being noticed when listening to it.

In this way, the compressor “subtracts” the masked frequencies, which reduces the number of bytes. And fewer bytes in computing translates into smaller files, but not shorter. The song, when compressed, lasts as long as it is uncompressed.

2. Quality of compressed files

We saw in the previous question that digital audio has two parameters: the sampling frequency (the optimum is 44.1 Khz.) And the resolution or size of each sample (8 or 16 bits). By compressing, we add a third parameter to these two, the bitrate. It is the amount of kilobytes per second (kbps) and refers to the quality of the compression.

• A lower number of Kbps, more compression, smaller file size, but lower quality.

• A higher number of Kbps, less compression, larger file size and more quality.

A compressed audio at 128 Kbps has a higher compression level than a 256 Kbps one. That means that 128 is a smaller file and less quality than 256. Although you must have a cat’s ear to distinguish between both!

VARIABLE OR CONSTANT BIT

Some files have a constant bit rate per second (CBR Constant Bit Rate) and others have a variable one (VBR Variable Bit Rate). The constant is always the same for all audio, for example 128 kilobytes per second. In the variable method, what the compressor does is use more bits when there are parts of the audio where there are more frequencies and it cannot mask all of them.

 

COMPRESSED FILE FORMATS

Mp3 (MPEG-1 Audio Layer 3)

It achieves high compressions without much loss, although it all depends on the quality of the compression we use. 128 Kbps and below is not recommended.

Although mp3 is the most widely used compression standard, especially for audio on Web pages, the great drawback is its patent. So any player or editing software that wants to use it has to pay for it.

.OGG (Vorbis)

As a result of this patent, the Xiph.org Foundation developed in 2002 a completely free codec (5) for audio compression. Similar in characteristics to mp3, it is beginning to be used a lot on the Web and in some players since manufacturers do not have to pay the costs of the patent. At this point, it is difficult to completely replace the mp3 but it is eating up a lot of ground.

.AAC (Advanced Audio Coding)

The compression level is higher than mp3 (MPEG-1) without major loss of quality. AAC is one of the codecs used in the new MPEG-4 compression standard. This audio format is used in players like the iPod and in some of the new digital radio systems. AAC is shaping up to be the successor to the mp3.

.RAM (also RM or RA)

They are the files of the Real Network company for audio. The problem is that its reproduction and edition is very limited to software from the same company and few others.

.WMA (Windows Media Audio)

It is Windows’ bet on compressed formats. It is like a WAV, but smaller and less quality. While mp3 and ogg files are played by almost all players and editors, the same is not the case with wma files, so it is rarely used.

. AA3 (ATRAC – Adaptive Transform Acoustic Coding)

Format invented by Sony. It is the one used by minidisc recorder-players.

Most popular audio formats

There is a huge amount of audio formats. The most common are formats such as MP3 (MPEG-2 Audio Layer III) and WAV. Usually, the type of format corresponds to the file extension (the letters of the file name after the period, for example .mp3, .wav, .ogg, .wma).

audio formats

A codec is an algorithm for encoding and compressing data in an audio format. Some file types are assigned a specific codec. For example, the MP3 format always uses the MPEG Layer-3 codec, while the MP4 format can use a range of different codecs.

Many times, the notions of codec and format are used as interchangeable. Especially when a format always uses a single codec. However, it is necessary to understand the difference between a format and a codec. In simple terms, a format can be compared to a container in which a sound or a video signal that uses a particular codec can be stored.

Some formats, such as MP4 or FLV, can store both audio and video sequences.

mp3 format

If you don’t know what program you should use to open one format or another audio, we recommend that you use our audio converter. It is compatible with almost all existing formats.

Depending on the type of compression, two types of codecs can be distinguished:

Lossless Codecs

This group of formats records and compresses a sound in such a way that it allows the preservation of its exact original quality when decoded.

The most common lossless coding formats are:

FLAC (Free Lossless Audio Codec – Audio codec, lossless and free),
APE (Monkey’s Audio – Mono Audio),
ALAC (Apple Lossless Audio Codec – Audio codec, lossless Apple).

Loss Codecs

When compressed with loss, a sound undergoes some modification. For example, compression cuts the sound frequencies that are inaudible to the human ear. When decoded, the file will be different from the original in terms of the information stored in it, but it sounds almost the same.

Some of the most common lossy formats are:

MP3
Wma
OGG
AAC

WAV is one of the first audio formats. It is mainly used to store uncompressed audio tracks (PCM) that are identical to audio CDs in terms of quality. On average, a minute of WAV format sound requires about 10 megabytes of memory. CDs are usually digitized in WAV format and then can be converted to MP3 with an audio converter.

MP3 (MPEG Layer-3) is the most widespread sound format in the world. MP3, like many of the other lossy formats, compresses the file size by reducing sounds inaudible to the human ear. Currently, MP3 is not the best format in terms of file size for sound quality, but since it is the most widespread and compatible with most devices, many people prefer to save their files in this format.

WMA (Windows Media Audio) is a format owned by Microsoft Corporation. It was initially introduced as the substitute for the MP3 format, with the highest compression characteristics. However, this fact has been compromised by some independent tests. In addition, the WMA format is compatible with data protection through DRM.

OGG is an open format that supports audio coding by several codecs. The Vorbis codec is the most commonly used in OGG. The quality of compression can be compared to the MP3 format, but it is less widespread in terms of compatibility with various audio players and devices.

AAC is a patented audio format system that has higher capabilities (number of channels, frequency of discretion) compared to the MP3 format. Usually, it achieves better sound quality with the same file size. AAC is currently one of the loss-coding algorithms that offers the highest quality. A file encoded with this format can have the following extensions: .aac, .mp4, .m4a, .m4b, .m4p, .m4r.

FLAC is a common lossless format. It does not modify the audio sequence and the sound encoded with this format is identical to the original. It is frequently used to reproduce sound in high-end audio systems. Its playback compatibility on devices and players is limited, therefore, if desired, it often becomes other formats before listening to it on a player.