[Music] File format types


Free Download Mp4Gain
picture

[Music] File format types

Music File Formats

Does everyone like music?

digital-formats

I think many people enjoy music downloading or streaming instead of CD these days, but what kind of format is music stored as data?

I researched the differences, advantages, and disadvantages of each format.

Types of audio compression

For music file format

Uncompressed
Lossy compression
Lossless compression
There are three types:
File-based compression can reduce file size and reduce download time and storage capacity.
Uncompressed format
As the name implies, it is an uncompressed file. The point is the original data.

The most used formats are:

Wav
AIFF
The advantage is the accuracy of the data. However, it also has the disadvantage of a large file size and uses approximately 10MB for a 1 minute audio file.

It is common to use “WAV” for Windows and “AIFF” for Macintosh.

WAV (WAVE)
A standard Windows audio file format established by Microsoft and IBM, also known as the WAVE format.

It is generally uncompressed and has good sound quality, but it is a very large file.

WAV format files are converted to AAC / MP3 format when imported into iTunes. You can specify compression for WAV, but there seem to be not many usage examples.

AIFF (Audio Interchange File Format)
This is a standard Macintosh audio file format established by Apple Inc. Like WAV, it is not compressed and has good sound quality, but it is a very large file. There is also AIFC, an extended format with lossy compression.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Everything you need to know about audio formats.

Everything you need to know about audio formats.

Audio Fomats

Whether you use iTunes or buy and download digital music, you will find a number of terms and abbreviations that describe digital audio files. This alphabet soup can be quite confusing. What are audio file formats or codecs? What is the bit rate and what is the sample rate? What does it mean when the music is “high definition”?

AUDIO FORMAT FILES

This article explains what you need to know about digital audio files. I’ll tell you the difference between lossy and lossless files, explain why bitrate matters (or not), and help you understand the various file formats you can encounter.

Compression: lossy and lossless
When you buy a CD, the audio on the disc is not compressed. You can rip (or import) CDs with iTunes or other software, converting CD audio into digital audio files for use on a computer or portable device. In iTunes, you can copy in two uncompressed formats: WAV and AIFF (other software supports other formats). Both formats simply encapsulate the PCM (Pulse Code Modulation) data stored on CD so that it can be read as audio files on a computer, and their bit rate (you’ll find the one below) is 1411 kbps.

WAV and AIFF files can be quite large. Therefore, digital audio files are compressed to save space. There are two types of compression: lossless and lossy. Lossless includes formats (or codecs for short codec algorithms) such as Apple Lossless and FLAC (Free Lossless Audio Codec). Lossy includes the ubiquitous MP3 and AAC formats. (AAC, which stands for Advanced Audio Coding, is actually MP4, the successor to the old MP3. Although Apple adopted it in the early days of iTunes, Apple was not involved in its creation and does not own the format.)

You can also view other audio formats, although they are less common. These include Ogg Vorbis, Monkey’s Audio, Shorten, and others. Some of these codecs are lossy and some are not. However, if you use iTunes and Apple hardware, you will only find WAV, AIFF, MP3, AAC, and Apple Lossless, at least for music.

iTunes can copy or import audio files in these formats. Select the one you want to use in iTunes> Preferences> General> Import Settings.

When you copy or convert an uncompressed audio file to a lossless format and then play that file back, it is a perfect copy of the original (provided the data was read correctly from the CD). Thus, you can convert from one lossless format to another without quality loss.

However, when you copy to a lossy format, if you later convert the file to another format, it loses some of its quality. This is similar to how a photocopy of a photocopy does not look as good as the original.

Some people prefer lossless formats because they play audio like CDs. Lossy compression is a tradeoff to save space, allowing you to store more music on your portable device or hard drive and speed up downloads. However, most people cannot tell the difference between a CD and a lossy file at high data rates, so if you’re ripping your music to sync to iPhone, lossless files are superfluous.

Lossless ripping is a good way to back up your files as you can convert them to other formats without losing quality. And you can have iTunes automatically convert them to AAC files when syncing. Check out this article for more information on this automatic conversion, as well as other lossless file questions.

Bit rates
The best way to measure the quality of an audio file, relative to its original quality rather than its musical or engineering quality, is to look at its bitrate. The bit rate of audio files is measured in thousands of bits per second or kbps. I mentioned earlier that the CD contains 1411kbps audio, and when you convert that audio into a lossy file, its bitrate is much lower.

The higher the bit rate the better, so a 256 kbps MP3 or AAC file is better than a 128 kbps file. However, this is not the case for lossless files. Lossless file transfer speed depends on the density and volume of your music. Two lossless tracks on the same album can have bit rates of, say, 400 kbps and 900 kbps, but when played back, they reproduce the original CD audio at the same level of quality. Lossless compression uses as many bits as necessary and no more.

Audio formats

Before going through the different audio formats to identify the best ones for you, it seems right to try to make you understand what digital audio is. In short, it is nothing more than a representation of real sounds through a chain of zeros and ones. The more there is in a file, the closer the digital sound will be to what it represents.

Audio Formats

Better audio formats

It all started with Pulse-Code Modulation (PCM), created in 1937 and characterized by two properties: the sampling frequency to measure the amplitude of the waveform and the bit depth to measure possible digital values. It is basically the faithful conversion of analog audio into a digital file in which no compression is done. The result is a very large audio file, which takes up a lot of space.

Audio Formats

To remedy this, therefore, more or less compressed audio formats have been created that, depending on their characteristics, are divided into two different types: Lossless formats, that is, when the information contained in the final file is identical to that contained in the source file and therefore there is no loss of quality, and lossy formats, for which the information contained in the final file is less than that contained in the source file with the consequent loss of quality but in benefit of the space of necessary storage. For more details, continue reading, below you will find the different audio formats belonging to the categories in question indicated and explained.

Lossless (WAV, AIFF, FLAC and ALAC)

As I told you a few lines above, Lossless audio formats are those that are not compressed or that, despite being subjected to this type of treatment, the final quality remains practically unchanged with respect to the original audio. The main formats that belong to this category are the following: WAV, AIFF, FLACC, ALAC and APE. Let’s see its characteristics in detail.

WAV – An acronym for WAVEform audio file format, is a standard that was developed by Microsoft and IBM in 1991. It is the most popular category of apparent audio file format. It is not compressed and is essentially what you get when you rip audio from a music CD with your computer. It takes up a lot of space (1,411 kilobits of information per second of stereo music at 44,100 Hz / 16 bits), but it reproduces sounds faithfully. In terms of quality and quantity of information, it is similar to the AIFF format, which you will find explained below.
AIFF – Short for Audio Interchange File Format, it belongs mainly to the Mac world, it was developed by Apple based on the Electronic Arts Interchange File Format and is particularly suitable for audiophiles and music recorders. It basically has the same characteristics as the WAV format mentioned above, so it is not compressed, so it takes up a lot of space (1,411 Kilobits of information per second of stereo music at 44,100 Hz / 16 bits) and is capable of reproducing sounds with a lot of fidelity.

FLAC: is the abbreviation for Free Lossless Audio Codec. It is an open source codec that is often used to store music CDs on the computer without loss of quality and is compatible with most programs and devices. Compared to the formats that I have already told you about, it has a minimal degree of compression, but most people cannot perceive significant differences compared to a WAV or AIFF file.
ALAC – Short for Apple Lossless Audio Codec, is essentially Apple’s worldwide counterpart to the earlier FLAC format. The quality is good on average but the format is not as efficient as the FLAC in terms of weight. Then keep in mind the fact that not all gamers support it, so unless you have uniquely and exclusively Apple devices, it may not be the best solution to opt for.

Other important but less common audio formats that always belong to the Lossless calorie are Monkey’s Audio (APE) and OptimFROG (OFR). Its characteristics are more or less similar to those of the FLAC and ALAC formats.

Lossy (MP3, AAC, WMA, and Ogg Vorbis)

Now let’s move on to the audio formats belonging to the Lossy category, that is, those always subjected to compression that take up very little space but “sacrifice” a certain degree of audio quality. The main formats in this category are: MP3, AAC, WMA, and Ogg Vorbis. For more information, keep reading, you will find more details about it below.

MP3: in Full Moving Picture Expert Group-1/2 Audio Layer 3, also known as MPEG-1 Audio Layer III or MPEG-2 Audio Layer III.

Audio file formats

It all starts with Pulse Code Modulation (PCM), the basis for digital audio, which was founded in 1937 and is characterized by two properties: sampling rate for measuring the waveform amplitude and bit depth for measuring possible digital values.

Examples of digital formats for audio sampling are:

– WAV (waveform audio file format)

– MP3, AAC, WMA, Vorbis

– FLAC (Free Lossless Audio Codec) ALAC (Apple Lossless Audio Codec) and APE

WAV:

The same format is used to record audio CDs. Different qualities are available (8-16 bit, 11 to 44 kHz). The higher the quality, the greater the memory usage.

MP3, AAC:

The files. MP3 and AAC are the most common formats when you need to store music on a computer or phone, and exchange or download music on the network and on the Internet. MP3 is a “lossy” format that loses some audio quality to achieve a significant increase in file size. An MP3 has a size of approximately 1 MB per minute.
The difference to lossless formats is that if you convert the file to a less compressed format like WAV, the quality sacrificed during compression will not be restored. For lossy formats such as MP3, the audio quality is measured using the bit rate value, which is generally specified in “192 kbit / s” or “192 kbit / s”.
The higher the bit rate, the more detailed the sound becomes.

FLAC, ALAC, APE:

These formats compress audio using algorithms.
The difference between compressed files and FLAC is that FLAC is specifically designed for audio and therefore has better compression rates without data loss.
As a rule, a .FLAC takes up half of the storage space of a WAV in megabytes and maintains the “CD quality”.
A FLAC can be converted to WAV without loss of quality and is the preferred format for those who want to listen to music with the best quality and great speakers.

Is the audio quality subjective?

In theory no, but in practice it’s very subjective.
To hear real differences between the quality of an audio CD and an MP3 file, you need to use high-end headphones or speakers.
In addition, it also depends on what you are listening to and what type of music, in different formats, can have significant or almost no differences in listening.
If you are looking for the best compromise between file size and quality, you should experiment with the different formats and test whether you have a better experience with MP3 with higher bit rates or even with the playback of FLAC files.

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.