What is MP3?

The format known as MPEG-1, Layer III (or MP3 for short) was developed in the late 1980s and early 1990s and was finalized in November 1992 by the Motion Pictures Expert Group (MPEG) as part of the original MPEG-1 standard. The MPEG committee is a gathering of scientists and engineers who work under the auspices of the International Standards Organization (ISO) and the International Electro-Technical Commission (IEC). The members of the MPEG group are responsible for establishing standards for digital coding of moving pictures and audio. (See the sidebar "About the Motion Pictures Expert Group ".)

MP3 is more than a simple compression scheme. Most people are familiar with file compressors such as zip. But if you've ever tried to zip up a WAV file, you've probably found that raw audio doesn't compress well at all. Compression shaves only a tiny percentage from the original file size. Instead, MP3 gets most of its compression from the science of psychoacoustics -- the modeling of human auditory perception. The theory is that uncompressed audio streams carry a lot of data that isn't actually perceived by humans, for a variety of reasons. The logic follows: why store data that can't be perceived? MP3 encoders analyze audio streams and compare them to mathematical models of human psychoacoustics -- a far more complex and mathematically intensive process than simple zip compression. The process is time- and processor-intensive (compared to zip, anyway), but it has the benefit of achieving more effective compression.

Of course, the act of discarding data results in an imperfect audio stream by definition. No MP3 file contains all the data found in the original uncompressed source stream. But in practice, MP3s can be created with high enough quality to render them indistinguishable from the source to even the most discerning listener. At mid-level bitrates (quality levels), MP3 streams can be indistinguishable from the source to the ears of most people. The trick is in finding the best possible balance or compromise between file size and quality.

About the Motion Pictures Expert Group

The Motion Pictures Expert Group (MPEG) was established in January 1988 with the mandate to develop standards for coded representation of moving pictures, audio, and their combination. It operates in the framework of the Joint ISO/IEC Technical Committee ( JTC 1) on Information Technology. MPEG is the group that is responsible for defining the standard we call MP3, as well as numerous other standards.

Since its first meeting in May 1988 when 25 experts participated, MPEG has grown to an unusually large committee. Some 350 experts from 200 companies and organizations located in more than 20 countries typically take part in MPEG meetings. As a rule, MPEG meets three times a year.

A large part of the membership of the MPEG working group is composed of individuals operating in research and academia. Even though the MPEG environment looks rather informal, the group has to bear in mind standards that can be of high strategic relevance.

MPEG exists to produce standards. Uploaded standards are the last stage of a long process that starts with the proposal of new work within a committee. The journey of the MPEG-1 Layer III standard that we know as MP3 may have begun in 1989 and become final in November 1992. However, the process of defining the MPEG family itself began long before that. The group is now focused on the finalization of MPEG-4, an architecture encompassing multichannel audio, video, multimedia, dimensional presentations, security mechanisms, and more.

MP3 technical details

As stated earlier, MP3 is a perceptual audio coding scheme. MP3 encoders analyze an audio signal and compare it to psychoacoustic models representing limitations in human auditory perception. They then encode as much useful information as possible given the restrictions set by the bitrate and sampling frequency established in the encoder application. A number of distinct steps comprise the encoding process, including:

A plethora of players

While we cover only a few players in this chapter, there are literally hundreds of MP3 players on the market for virtually every operating system. Some are free; some require a small fee; some are basic and lightweight; others are full-featured and sometimes even bloated. Some work from the command line, while others in a normal window, and still others operate within funky, irregularly shaped interfaces. Check the software libraries for a list of MP3 players for your operating system.

Note that when AOL purchased Nullsoft in late 1999, they made Winamp freeware. Traditional audio players have acquired MP3 playback capabilities as well. MP3 playback capabilities have been added to Liquid Audio's LiquidPlayer (see the sidebar "Liquid Audio: building a viable e-music system" later in this chapter), RealAudio's RealPlayer (and their popular RealJukebox), Apple's QuickTime, and Microsoft Media players.