What is the best audio format?

Just have a drink and chat
danbraun
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2009 05:29

What is the best audio format?

Postby danbraun » 23 Jun 2009 05:46

Today there are a variety of different digital audio formats to choose from. Enough to cause confusion amongst new users who wish to convert their CD library into digital form for easy listening on their computers or portable audio device such as the iPod. This guide is designed to help newer users on deciding on a format to rip his or her music to.

The first thing you should consider is what you need from an audio format.

Compatibility?
Quality?
Playable on your portable device?

There is no right or wrong answer on which format you should use. It's a personal choice and it depends on your needs.

There are two types of audio formats: lossy and lossless. Lossy formats throw out audio information when encoding to lower the file size of the song so no lossy format is technically CD quality. However, perceivable quality is more important and lossy formats can provide audio that is indistinguishable from the original CD. Lossless formats work like Zip files. It compresses your audio as much as it can without throwing out any audio information. When the losslessly compressed file is decompressed it will have the same quality it had before it was compressed. In other words, lossless formats retain the CD quality audio on your CDs. There is no quality loss.

The bit rate of a file is the data rate that the audio is compressed at. There is no clear answer to which is best, it all depends on your hearing. Do some comparison tests between the CD quality audio and encoded files at various bit rates and determine which sounds best to you. Bit rates are used in the following ways:

• CBR (constant bit rate) - The file is encoded using the same bit rate throughout the entire file.
• VBR (variable bit rate) - The bit rate changes throughout the file according to the complexity of the music to offer the best quality.
• ABR (average bit rate) - This is a simple VBR mode where the bit rate fluctuates through out the song and averages out to be a certain bit rate.

Note: This article was created with the iPod user in mind as it is the most popular portable audio device on the market. That is the reason for the many iTunes references and iPod references in the article.
Now let's start reviewing the various audio formats.

MP3 is by far the most popular audio format in use today. It was the first lossy compression codec which means it is also the oldest lossy compression format. MP3 can achieve transparent, or indistinguishable from CD, quality at around 192kbps-256kbps to most people on most samples. The LAME encoder is highly recommended when encoding MP3s by the folks at Hydrogenaudio.org. It is the highest quality MP3 encoder available. If you are concerned about compatibility with software and portable audio players then this is the format to use.

AAC or Advanced Audio Coding, is a relatively new format. AAC has been made popular by Apple because of its integration into Apple's iTunes music software and its iPod portable audio player. At any bit rate, AAC should sound better than MP3. Likewise, a 128 kbps AAC file should sound better than a 128 kbps MP3 file. AAC is gaining popularity and so it is becoming compatible with more media players but currently the iPod is the only major portable audio device that can playback MPEG-4 AAC. Note that AAC is not owned by Apple. It is defined in the MPEG-4 standard which means any portable audio device has the capability to add support for the format. The iTunes Music Store uses AAC at 128kbps. However, the iTunes Music Store wraps the FairPlay DRM protection around the MPEG-4 AAC files it sells. FairPlay is proprietary to Apple and currently Apple does not license it to other companies so the iPod remains the only player to be able to play files bought from the iTunes Music Store. Any music ripped to AAC in iTunes does not have any DRM protection attached to it.

Ogg Vorbis is an open-source and patent free audio format. MP3 and AAC are patented formats that must be licensed in order to be used. The advantage to Ogg Vorbis is that it is free to use without any restrictions. Ogg Vorbis should sound better than MP3 at the same bit rate. Ogg Vorbis has a few portable audio players that play it and media player software is beginning to support it more. A lot of game developers are using the format to avoid paying licensing fees. Ogg Vorbis is not supported by the iPod.

MPC is considered the best lossy audio format today. It excels at bitrates above 160 kbps and can achieve transparency in the 160 - 200 kbps range to most people on most samples. However, MusePack doesn't have much support. No portable audio device yet plays this format and only a handful of media players support playback of MusePack natively. Most media players require a plug-in to support MusePack. iTunes does not support this format and neither does the iPod.

WMA is Microsoft's answer to MP3. Exclusive to the Windows platform, WMA offers better sounding files at lower bit rates but currently WMA is not the best audio format. Better tuned MP3 encoders, AAC, Ogg Vorbis, and MusePack all beat WMA's quality at 128kbps and above. This format is not supported by the iPod but iTunes does offer a feature to convert WMA files to AAC/MP3 files for playback on the iPod.

FLAC stands for Free Lossless Audio Codec which is exactly what it is. It is non-patented and open-source. It supports multiple computing platforms and is considered the best lossless codec available by many. Encoding and decoding are both fast, compression is good, and seeking throughout a file is also fast. Currently, iTunes and iPod do not support FLAC.

APE is another lossless compression format. It generally compresses better than FLAC using the highest setting, however, having the best compression isn't the best thing when talking about a lossless codec. Monkey's Audio is a Windows-only format and encoding, decoding, and seeking is slower than FLAC.

WAV is the main format used for raw and typically uncompressed audio. The usual bitstream encoding is the Pulse Code Modulation (PCM) format.Uncompressed WAV files are quite large in size, so, as file sharing over the Internet has become popular, the WAV format has declined in popularity. However, it is still a commonly used, relatively "pure", i.e. lossless, file type, suitable for retaining "first generation" archived files of high quality, or use on a system where high fidelity sound is required and disk space is not restricted.

About the Author:- Bob Haines, is a technical lead at IT24BY7. IT24BY7 provides next-generation remote technical support and onsite services to consumers and small businesses. Live 24/7 support coverage extends to technologies that we use everyday such as MP3 Player, cell phones etc. Our comprehensive support coverage spans across various software applications, different flavors of windows and UNIX operating systems, desktops, laptops, servers, printers, peripherals, routers and other hardware devices.
Last edited by danbraun on 06 Jul 2009 15:31, edited 1 time in total.

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: What is the best audio format?

Postby ajmas » 25 Jun 2009 15:22

Just a quibble, but should that not be "...the iTunes Music Store wraps the FairPlay DRM protection around some the MPEG-4 AAC files it sells (having recently removed DRM from the vast majority of its audio only music catalogue)..."? Otherwise a good post.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

apt
Blank Cone
Blank Cone
Posts: 28
Joined: 05 Sep 2008 17:32

Re: What is the best audio format?

Postby apt » 26 Jun 2009 14:49

Very good post, cheers.
Just one small addition, AFAIK MPC can be played by portables using Rockbox firmware. Only SV7 format so far, SV8 support is under development. It is open-source as well.
As for Ogg, it will perhaps become more popular since it's been allowed by HTML5 specification. Currently only Firefox 3.5 and Chrome supports it, though.

danbraun
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2009 05:29

Re: What is the best audio format?

Postby danbraun » 06 Jul 2009 15:33

Guys, thanks for your $0.2

sanjun
New Cone
New Cone
Posts: 2
Joined: 07 Jul 2009 07:51

Re: What is the best audio format?

Postby sanjun » 07 Jul 2009 07:55

mp3 is a good choice on my ipod and mp4 player

tg_drifter
New Cone
New Cone
Posts: 3
Joined: 14 Jul 2009 10:58

Re: What is the best audio format?

Postby tg_drifter » 17 Jul 2009 09:53

I would recommend a lossless format - flac, ape - if you have a lot of storage space. WAV is fine too if you don't care about compression, but I'm not sure if it's possible to attach ID3 tags on wave files. Personally, I only use WAV when working with audio.

At home I have all my music in FLAC format. My file server has several TB of storage space and still has more than 70% space available after storing on it hundreds of albums as well as movies and a whole bunch of other stuff.
In the car and on portable audio I use lossy formats due to storage limitations, and compatibility reasons.

As for quality, Lossless can make either a huge difference in quality, or no difference at all, depending on the audio that is being encoded. I have noticed that some songs sounded far superior in lossless format while other sounded the same.


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 2 guests