Common Audio Formats
|Hundreds of file formats exist for recording and playing digital sound and music files. While many of these file formats are software dependant — for example a Creative Labs Music File is a .cmf — there are several well-known and widely supported file formats. While different operating systems have different popular music file formats, we'll mainly focus on those that are most commonly used on Windows-based PCs.
Many different digital audio formats and different software are used to create, store and manipulate these files, the good news for consumers is that there is also a wide range of devices and products available that support multiple formats. Should you not have the correct device for playing a particular file, you can also look for software conversion tools that will convert one file type to another. Because some audio files are open standards and some are proprietary, chances are we'll be seeing a wide variety of digital audio formats for some time to come.
File Format and Codec
An audio file format and audio codec (compressor/decompressor) are two very different things. Audio codecs are the libraries that are executed in multimedia players. The audio codec is actually a computer program that compresses or decompresses digital audio data according to the audio file format specifications. For example, the WAV audio file format is usually coded in the OCM format, as are the popular Macintosh AIFF audio files.
Recommended Reading: File Formats and Their File Extensions. Search for a file extension by the letter it starts with or view the complete list of more than 3,700 file extensions.
Uncompressed audio formats (often referred to as PCM formats) are just as the name suggests — formats that use no compression. This means all the data is available, at the risk of large file sizes. A WAV audio file is an example of an uncompressed audio file.
Lossless compression applies compression to an uncompressed audio file, but it doesn't lose information or degrade the quality of the digital audio file. The WMA audio file format uses lossless compression.
Lossy compression will result in some loss of data as the compression algorithm eliminates redundant or unnecessary information — basically it tosses what it sees as irrelevant information. Lossy compression has become popular online because of its small file size, it is easier to transmit over the Internet. MP3 and Real Audio files uses a lossy compression.
Common Windows-compatible Audio Formats
MP3 is the name of the file extension and also the name of the type of file for MPEG, audio layer 3. Layer 3 is one of three coding schemes (layer 1, layer 2 and layer 3) for the compression of audio signals. Layer 3 uses perceptual audio coding and psychoacoustic compression to remove all superfluous information (more specifically, the redundant and irrelevant parts of a sound signal. The stuff the human ear doesn't hear anyway). It also adds a MDCT (Modified Discrete Cosine Transform) that implements a filter bank, increasing the frequency resolution 18 times higher than that of layer 2. The result in real terms is layer 3 shrinks the original sound data from a CD (with a bit rate of 1411.2 kilobits per one second of stereo music) by a factor of 12 (down to 112-128kbps) without sacrificing sound quality.
WMA - Windows Media Audio (.wma)
Short for Windows Media Audio, WMA is a Microsoft file format for encoding digital audio files similar to MP3 though can compress files at a higher rate than MP3. WMA files, which use the ".wma" file extension, can be of any size compressed to match many different connection speeds, or bandwidths.
WAV is the format used for storing sound in files developed jointly by Microsoft and IBM. Support for WAV files was built into Windows 95 making it the de facto standard for sound on PCs. WAV sound files end with a .wav extension and can be played by nearly all Windows applications that support sound.
Real Audio (.ra .ram .rm)
Real Audio is a proprietary format, and is used for streaming audio that enables you to play digital audio files in real-time. To use this type of file you must have RealPlayer (for Windows or Mac), which you can download for free. Real Audio was developed by RealNetworks.
MIDI - Musical Instrument Digital Interface (.mid)
Short for musical instrument digital interface, MIDI is a standard adopted by the electronic music industry for controlling devices, such as synthesizers and sound cards, that emit music. At minimum, a MIDI representation of a sound includes values for the note's pitch, length, and volume. It can also include additional characteristics, such as attack and delay time.
Ogg is an audio compression format, comparable to other formats used to store and play digital music, but differs in that it is free, open and unpatented. It uses Vorbis, a specific audio compression scheme that's designed to be contained in Ogg.
Recommended Reading: See more formats in Webopedia's Audio Category.
Converting Between Different Audio Formats
With a slew of software applications available today, consumers can convert one digital audio file format to virtually any other. many of the programs available today offer standard burning or converting tools to enable consumers to create CDs on their computer which can be played in home or car stereos. Usually these tools will convert or burn uncompressed WAV PCM, compressed WAV , MP3, and Ogg Vorbis.
Did You Know...
Marketing firm iSuppli predicts that total MP3 player shipments will expand to 132 million units in 2009, rising at a compound annual growth rate (CAGR) of 29.1% from 36.8 million in 2004. [iSuppli]
|Key Terms To Understanding Digital Audio Formats
Based in Nova Scotia, Vangie Beal is has been writing about technology for more than a decade. She is a frequent contributor to EcommerceGuide and managing editor at Webopedia. You can tweet her online @AuroraGG.
A network is a group of two or more computer systems or devices, linked together to share resources, exchange files and electronic communications.... Read More »Computer Architecture Study Guide
This Webopedia study guide describes the different parts of a computer system and their relations. Read More »Webopedia Polls
The trend for the past two years has been for shoppers to spend more online during the holiday season. How do you typically shop for holiday... Read More »
- Watch Datamation's editor James Maguire moderate roundtable discussions with tech experts from companies such as Accenture, Dell, Blue Jeans Network, Microsoft and more »
Because nothing says "I Love You" Like an open source app. Read More »Guarding your Data against Cyber Attacks
In this new era of heightened stakes comes an increased need for a comprehensive security strategy. Let's take a look at how cyber-threats have... Read More »The Great Data Storage Debate: Is Tape Dead?
Tape clearly is on the decline. But remember, legacy systems can hang for a shockingly long time. Read More »