Monday, August 18, 2008

Which digital audio encoding format should you choose?


There are various digital audio encoding formats present today such as MP3, WMA, OGG and AAC. You might ask, "Which of these should I choose?" Choosing the right audio file format is important because they have their own limitations and benefits. You should also consider three things when choosing the right format: (1)Their ability to compress sound; (2)their ability to maintain the sound quality and (3)is it Universal or software dependant. To help you decide which audio format to choose, here’s a description about the common file formats.



(Filename Extension: .mp3) - MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio encoding format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players. MP3's use of a lossy compression algorithm is designed to greatly reduce the amount of data required to represent the audio recording and still sound like a faithful reproduction of the original uncompressed audio for most listeners, but is not considered high fidelity audio by audiophiles. An MP3 file that is created using the mid-range bit rate setting of 128 kbit/s will result in a file that is typically about 1/10th the size of the CD file created from the original audio source. An MP3 file can also be constructed at higher or lower bit rates, with higher or lower resulting quality. The compression works by reducing accuracy of certain parts of sound that are deemed beyond the auditory resolution ability of most people.


The simplest type of MP3 file uses one bit rate for the entire file — this is known as Constant Bit Rate (CBR) encoding. Using a constant bit rate makes encoding simpler and faster. However, it is also possible to create files where the bit rate changes throughout the file. These are known as Variable Bit Rate (VBR) files. The idea behind this is that, in any piece of audio, some parts will be much easier to compress, such as silence or music containing only a few instruments, while others will be more difficult to compress. So, the overall quality of the file may be increased by using a lower bit rate for the less complex passages and a higher one for the more complex parts. With some encoders, it is possible to specify a given quality, and the encoder will vary the bit rate accordingly. Users who know a particular "quality setting" that is transparent to their ears can use this value when encoding all of their music, and not need to worry about performing personal listening tests on each piece of music to determine the correct settings.




(Filename Extensions:.m4a,.m4b,.m4p,.m4v,.m4r,.3gp,.mp4,.aac) - Advanced Audio Coding (AAC) is a standardized, lossy compression and encoding scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates.


AAC has been standardized by ISO and IEC, as part of the MPEG-2 & MPEG-4 specifications. The MPEG-2 standard contains several audio coding methods, including the MP3 coding scheme. AAC is able to include 48 full-bandwidth (up to 96 kHz) audio channels in one stream plus 15 low frequency enhancement (LFE, limited to 120 Hz) channels and up to 15 data streams. AAC is able to achieve indistinguishable audio quality at data rates of 320 kbit/s (64kbit/s/channel) for five channels. The quality is close to CD also at 96 kbit/s (48kbit/s/channel) for stereo.


AAC's best known use is as the default audio format of Apple's iPhone, iPod, iTunes, and the format used for all iTunes Store audio (with extensions for proprietary digital rights management). AAC is also the standard audio format for Sony’s PlayStation 3, latest generation of Sony Walkman, Sony Ericsson Walkman Phone, Nintendo's Wii (with the Photo Channel 1.1 update installed for Wii consoles purchased before late 2007) and the MPEG-4 video standard. HE-AAC is part of digital radio standards like DAB+ and Digital Radio Mondiale.



(Filename Extension: .wma) - Windows Media Audio (WMA)
is an audio data compression technology developed by Microsoft. The name can be used to refer to its audio file format or its audio codecs. It is a proprietary technology which forms part of the Windows Media framework. WMA consists of four distinct codecs. The original WMA codec, known simply as WMA, was conceived as a competitor to the popular MP3 and RealAudio codecs. Today it is one of the most popular codecs, together with MP3 and MPEG-4 AAC. In 2003 it came second after MP3 in terms of standalone players supporting it. WMA Pro, a newer and more advanced codec, supports multichannel and high resolution audio. A lossless codec, WMA Lossless, compresses audio data without loss of audio fidelity. And WMA Voice, targeted at voice content, applies compression using a range of low bit rates.




(Filename Extension: .ogg, .oga) - Vorbis
is a free and open source; lossy audio codec project headed by the Xiph.Org Foundation and intended to serve as a replacement for MP3. It is most commonly used in conjunction with the Ogg container and is therefore called Ogg Vorbis. Vorbis development began following a September 1998 letter from Fraunhofer Gesellschaft announcing plans to charge licensing fees for the MP3 audio format. Soon after, founder Christopher "Monty" Montgomery commenced work on the project and was assisted by a growing number of other developers. They continued refining the source code until a stable version 1.0 of the codec was released on July 19, 2002. The latest official version is 1.2.0 released on 2007-07-25, but there are some fine-tuned forks, most notably aoTuV, that offer better audio quality, particularly at low bitrates. Work is in progress to merge back those improvements. Source code (called libvorbis) for the Xiph.Org Foundation release is available from the official download page.



Now that you’re armed with the right information about the different audio file formats, it’s up to you which of these you’ll use. As for me I’ll still be using MP3 format for most of my songs because this format is universal. Anyone is familiar with this file format. Even though they say AAC is the successor of MP3, I’m still very sure that MP3 is here to stay…


No comments: