Introducing Digital Audio


The advent of digital audio enables anyone with a personal computer to make reasonably acceptable (and, depending on the format, bit-for-bit perfect) digital copies of songs from compact discs, and to store these copies on their computer's hard disk. Digital audio also lets any PC user with an Internet connection trade songs with other users, and download copies of songs that other users have made. In addition, digital audio lets users download their favorite songs to portable audio players and listen to them while they're away from the computers. It's ultimate user control over the music you listen to.

In the previous chapter I explained how music and movies are now recorded digitally. There are many different ways to make a digital recording, which results in many different file formats for digital audio.

Of all the available file formats, the one that has enjoyed almost universal popularity is the MP3 format. That's because MP3 was the first widely accepted format that combined good quality sound with reasonably small files.

But MP3 isn't the only digital audio file format in use today. Microsoft is waging a strong campaign for its Windows Media Audio (WMA) format, which offers similar quality to MP3 at half the file size.

I'll look at both these formats MP3 and WMA in the following sections.

MP3 Audio

MP3 is a digital audio file format that compresses music to fit within reasonably sized computer files while maintaining near-CD quality sound. A typical three-minute song in MP3 format takes up about 3MB of disk space.

It's not an exaggeration to say that MP3 took the music industry by storm. Music fans love MP3 even though most record companies (and many artists) despise it. In particular, they fear that unauthorized copying of their music will deprive them of revenues from traditional CD sales. Whether or not that's the case, MP3 has quickly become the standard for music on the Web and there's no stopping it.

Developed (and patented) by Thomson Multimedia and the Fraunhofer Institute, the MP3 digital audio format is an extension of Motion Picture Experts Group (MPEG) Layer 3 technology. (The MP3 file extension is short for MPEG Layer 3.) MP3 and other MPEG formats store music digitally, and in the process compress the original data to take up less space than it did originally. MP3's data compression reduces digital sound files by about a 12:1 ratio.

Besides compressing the data in an audio file, MP3 also lets you choose the rate at which the original music is sampled. The lower the sampling rate, the smaller the filer size and the lower the sound quality.

As an example, normal compact discs sample music at a 44.1KHz rate. In other words, the music is sampled, digitally, 44,100 times per second. Each sample is 16 bits long. When you multiply the sampling rate by the sample size and the number of channels (two for stereo), you end up with a bit rate. For CDs, you multiply 44,100 x 16 x 2, and end up with 1,400,000 bits per second (1,400Kbps).

The space taken up by these bits can add up quickly. If you take a typical three-minute song recorded at 44.1KHz, you end up using 32MB of disk space. Although that song can easily fit on a 650MB CD, it's way too big to download over a 56Kbps dial-up Internet connection.

The appeal of the MP3 format is that it combines compression with lower bit-rate sampling. By recording at lower bit rates, you get smaller files and faster downloads.

For example, if you choose to encode an MP3 file at a 128Kbps bit rate, that same 32MB three-minute song will compress to just 3MB of storage. That's small enough to download easily, even on a dial-up connection.

The problem with shrinking files to this degree, of course, is that the sound quality suffers. The lower the bit rate, the worse the sound. The higher the bit rate, the bigger the file. It's a trade-off.

When you're recording an MP3 file, which bit rate should you use? Table 15.1 shows some of the more popular bit rates available, and describes the sound quality of each.

Table 15.1. Popular MP3 Bit Rates

Bit Rate

Sound Quality

56Kbps

Suitable for voice recording only. Extremely compressed sound, similar to AM radio.

64Kbps

Not noticeably different than 56Kbps. Still extremely compressed, not suitable for music.

96Kbps

Comparable to worst-case FM radio. Noticeable high-end loss, heavily compressed sound, lack of full dynamic range.

112Kbps

Noticeable improvement to 96Kbps. Still has poor definition and presence, with soft attacks.

128Kbps

Soft attacks, slightly compressed sound. Similar to normal FM radio, but still sub-CD quality. This is probably the most popular bit rate for encoding.

160Kbps

Sounds slightly softer and more compressed than the original, but less noticeably so than with lower bit rates.

192Kbps

Sounds similar to the original, but with less presence and somewhat restricted dynamic range.

256Kbps

Quality is approaching that of the original, but still has a slightly compressed sound.

320Kbps

Near CD-quality. This is the highest bit rate possible with the current MP3 standard.


If you're encoding MP3 files for use at your computer or with a portable MP3 player, the 128Kbps rate is probably good enough quality. If you're encoding MP3 files for playback on a high-fidelity audio system, you'll probably want to move up to at least a 256Kbps bit rate. (Sound quality is highly subjective, as you can imagine some "golden-eared" audiophiles like myself find it difficult to listen to MP3s recorded at any bit rate!)

Windows Media Audio

TIP

Another popular digital audio format is the AAC format, which Apple uses for music sold in its iTunes Music Store. AAC is also the native format for playback on its wildly popular iPod portable audio players. The problem is, WMP won't play AAC file and iPods won't play WMA files. So if you have an iPod, you're locked out of the WMA/WMP universe, and if you want to use WMP (or have a lot of WMA-format files), you're locked out of the Apple iPod/iTunes universe. If this annoys you, you're not alone; blame it on stubborn corporate incompatibility.


As I mentioned earlier, several competing audio formats have been introduced with the goal of providing listeners with either better sound quality or smaller file size (or both) than the current MP3 format. Microsoft's entrée in this competition is Windows Media Audio (WMA for short). WMA files offer similar sound quality as MP3 files, but at about half the size. (Or so Microsoft claims….)

WMA definitely offers better copyright protection than the MP3 format, which is a big issue for the music industry. Unlike MP3 files, the copyright holder can use digital rights management (DRM) technology to protect WMA files from unlawful distribution, copying, and sharing. (No more downloading of your favorite songs for free, anyway.)

The way WMA copy protection works is that each file you download from an official site has a license. When you use Windows Media Player to copy protected content from your computer to another computer, the license is copied along with the song. When you try to play the copy-protected song on another computer, it won't play; you can only play DRM-protected songs on the original computer or device.

Fortunately, most DRM schemes let you copy protected files to a limited number of portable devices, and to burn the files to a limited number of CDs. And, for what it's worth, DRM works invisibly, in the background until you exceed the license restrictions, that is.

Digital rights management aside, when you're making WMA recordings, you have a similar choice of bit rate as you do with MP3 files. The higher the bit rate, the higher the sound quality and the larger the file size. Lower the bit rate and you lower the sound quality, but you also reduce the necessary disk space.

WMA files can be encoded at lower bit rates than MP3 files, with comparable sound quality. Table 15.2 (next page) compares bit-rate quality between the two formats.

Table 15.2. Comparing Bit-Rate Quality Between WMA and MP3 Audio Formats

MP3 Bit Rate

Comparable WMA Bit Rate

Sound Quality

64Kbps

48Kbps

Suitable for voice only

128Kbps

96Kbps

Similar to FM radio

192Kbps

128Kbps

Similar to the original

320Kbps

192Kbps

Near-CD quality


TIP

Use lossless WMA files to rip your CD collection to hard disk for playback on a home audio or home theater system. The sound quality will be identical to the original CDs.


As with the MP3 format, you can really hear the difference between the different WMA bit rates. A 48Kbps recording sounds a lot like AM radio, while a 192Kbps recording is near CD-quality. Pick something in the middle, like 96 or 128Kbps, and you get a recording that sounds like decent FM radio.

And, starting with WMP 9, the WMA format offers two interesting and sometimes useful variations. The first type of new WMA files feature variable bit-rate recording, which lets you cut down on file size during low-fidelity sections of music, or ramp up the bit rate during high-quality sections. The second type of new WMA files utilize so-called lossless compression, which maintain the original sound quality while still compressing the file size although not nearly as much as with traditional WMA encoding. Both options are available from within WMP.

MP3 Versus WMA: Which Format Is Best?

Microsoft would like you to think that WMA is a better format than MP3 because it delivers similar quality at half the file size. Or, looking at it another way, you can get better sound quality out of similar-sized files. After several years of living with the WMA format, I definitely prefer WMAs to MP3s; the difference is subtle, but it's there.

Of course, you also have to take into account the popularity factor. Most song files that are being traded today are in MP3 format. Millions of users can't be wrong. MP3 is the king, and that's just the way it is.

Fortunately, Windows Media Player can play back both MP3 and WMA-format files. So whichever way you go, WMP has you covered!



Microsoft Windows XP for Home Users Service Pack
Windows XP for Home Users, Service Pack 2 Edition
ISBN: 0321369890
EAN: 2147483647
Year: 2003
Pages: 270

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net