Ants
Ants
Ants
audio file format is a file format for storing digital audio data on a computer system. The bit
layout of the audio data (excluding metadata) is called the audio coding format and can be
uncompressed, or compressed to reduce the file size, often using lossy compression. The data can
be a raw bitstream in an audio coding format, but it is usually embedded in a container format or an
audio data format with defined storage layer.
Format types
It is important to distinguish between the audio coding format, the container containing the raw audio
data, and an audio codec. A codec performs the encoding and decoding of the raw audio data while
this encoded data is (usually) stored in a container file. Although most audio file formats support only
one type of audio coding data (created with an audio coder), a multimedia container format
(as Matroska or AVI) may support multiple types of audio and video data.
There are three major groups of audio file formats:
Lossy formats.
Lossy audio formats lose data in the transmission.
They don’t decompress back to their original file size,
so they end up smaller, and some sound waves are
lost. Artists and engineers who send audio files back
and forth prefer not to use lossy formats, because the
files degrade every time they’re exported.
MP3
MP3 (MPEG-1 Audio Layer III) is the most popular of
the lossy formats. MP3 files work on most devices,
and the files can be as small as one-tenth the size of
lossless files. MP3 is fine for the consumer, since
most of the sound it drops is inaudible, but that’s not
the case when it comes to bit depth. “MP3 files can
only be up to 16-bit, which is not what you want to be
working in,” says producer, mixer, and engineer Gus
Berry. “You want to be working in at least 24-bit or
higher when recording and mixing.”
AAC
Advanced Audio Coding, or AAC files (also known as
MPEG-4 AAC), take up very little space and are good
for streaming, especially over mobile devices.
Requiring less than 1 MB per minute of music and
sounding better than MP3 at the same bitrate, the
AAC format is used by iTunes/Apple Music, YouTube,
and Android.
Ogg Vorbis
Ogg Vorbis is the free, open-source audio codec that
Spotify uses. It’s great for streaming, but the
compression results in some data loss. Experts
consider it a more efficient format than MP3, with
better sound at the same bitrate.
Lossless formats.
These files decompress back to their original size,
keeping sound quality intact. Audio professionals
want all of the original sound waves, so they prefer
lossless. These files can be several times larger than
MP3s. Lossless bitrates depend on the volume and
density of the music, rather than the quality of the
audio.
FLAC
Free Lossless Audio Codec offers lossless
compression, and it’s free and open-source.
ALAC
Apple’s Lossless Audio Codec allows for lossless
compression, but it works only on Apple devices.
Uncompressed formats.
These files remain the same size from origin to
destination.
WAV
WAV (Waveform Audio File) retains all the original
data, which makes it the ideal format for sound
engineers. “WAV has greater dynamic range and
greater bit depth,” creative producer and sound
mixer Lo Boutillette says of her preferred format. “It’s
the highest quality,” Berry agrees. “It can be 24-bit,
32-bit, all the way up to 192kHz sample rate and even
higher these days.” If you’re collaborating and
sending files back and forth, WAV holds its time code.
This can be especially useful for video projects in
which exact synchronization is important.
AIFF
Originally created by Apple, AIFF (Audio Interchange
File Format) files are like WAV files in that they retain
all of the original sound and take up more space than
MP3s. They can play on Macs and PCs, but they don’t
hold time codes, so they’re not as useful for editing
and mixing.
DSD
Direct Stream Digital is an uncompressed, high-
resolution audio format. These files encode sound
using pulse-density modulation. They are very large,
with a sample rate as much as 64 times that of a
regular audio CD, so they require top-of-the-line
audio systems.
PCM
Pulse-Code Modulation, used for CDs and DVDs,
captures analog waveforms and turns them into
digital bits. Until DSD, this was thought to be the
closest you could get to capturing complete analog
audio quality.
A coda on digital audio formats.
If you’re listening to spoken word recordings or
you’re a casual listener who’s OK with unoptimized
music files, you can go with a compressed format and
save space in your music library. If you have more
educated ears and expensive audio equipment, you
may want lossless compression for its combined
space-saving and fidelity. If you’re recording or
manipulating audio or setting it to video, always go
with lossless or uncompressed. No matter your
needs, there’s an audio file format for you.