MP3

MPEG-1 Audio Layer 3
Filename extension .mp3
Internet media type audio/mpeg
Type of format Audio

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 is an audio-specific format that was designed by the Moving Picture Experts Group. The group was formed by several teams of engineers at Fraunhofer IIS in Erlangen, Germany, AT&T-Bell Labs in Murray Hill, NJ, USA, Thomson-Brandt, and CCETT as well as others. It was approved as an ISO/IEC standard in 1991.

The use in MP3 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. This method is commonly referred to as perceptual coding.[1] It internally provides a representation of sound within a short term time/frequency analysis window, by using psychoacoustic models to discard or reduce precision of components less audible to human hearing, and recording the remaining information in an efficient manner. This is relatively similar to the principles used by JPEG, an image compression format.

History

Development

The term MP3 is actually a reference shortened from the official Moving Picture Experts Group-1 Audio Layer 3 nomenclature for this lossy digital audio encoding format.

The MP3 audio data compression lossy data compression algorithm takes advantage of a perceptual limitation of human hearing called auditory masking. In 1894, Mayer reported that a tone could be rendered inaudible by another tone of lower frequency.[2] In 1959, Richard Ehmer described a complete set of auditory curves regarding this phenomenon.[3] Ernst Terhardt et al. created an algorithm describing auditory masking with high accuracy.[4] This work added on a variety of reports from authors dating back to Fletcher, and to the work that initially determined critical ratios and critical bandwidths.

The psychoacoustic masking codec was first proposed in 1979, apparently independently, by Manfred R. Schroeder, et al..[5] from AT&T-Bell Labs in Murray Hill, NJ, and M. A.Krasner[6] both in the United States. Krasner was the first to publish and to produce hardware for speech, not usable as music bit compression, but the publication of his results as a relatively obscure Lincoln Laboratory Technical Report did not immediately influence the mainstream of psychoacoustic codec development. Manfred Schroeder was already a well-known and revered figure in the worldwide community of acoustical and electrical engineers, and his paper had influence in acoustic and source-coding (audio data compression) research. Both Krasner and Schroeder built upon the work performed by Eberhard F. Zwicker in the areas of tuning and masking of critical bands,[7][8] that in turn built on the fundamental research in the area from Bell Labs of Harvey Fletcher and his collaborators.[9] A wide variety of (mostly perceptual) audio compression algorithms were reported in IEEE's refereed Journal on Selected Areas in Communications.[10] That journal reported in February 1988 on a wide range of established, working audio bit compression technologies, some of them using auditory masking as part of their fundamental design, and several showing real-time hardware implementations aimed at laboratory experiences. This hardware was never used in PC audio cards.

The immediate predecessors of MP3 were "Optimum Coding in the Frequency Domain" (OCF),[11] and Perceptual Transform Coding (PXFM).[12] These two codecs, along with block-switching contributions from Thomson-Brandt, were merged into a codec called ASPEC, which was submitted to MPEG, and which won the quality competition, but that was mistakenly rejected as too complex to implement. The first practical implementation of an audio perceptual coder (OCF) in hardware (Krasner's hardware was too cumbersome and slow for practical use), was an implementation of a psychoacoustic transform coder based on Motorola 56000 DSP chips. MP3 is directly descended from OCF and PXFM. MP3 represents the outcome of the collaboration of Dr. Karlheinz Brandenburg, working as a postdoc at AT&T-Bell Labs with Mr. James D. Johnston of AT&T-Bell Labs, collaborating with the Fraunhofer Society for Integrated Circuits, Erlangen, with relatively minor contributions from the MP2 branch of psychoacoustic sub-band coders.

MPEG-1 Audio Layer 2 encoding began as the Digital Audio Broadcast (DAB) project managed by Egon Meier-Engelen of the Deutsche Forschungs- und Versuchsanstalt für Luft- und Raumfahrt (later on called Deutsches Zentrum für Luft- und Raumfahrt, German Aerospace Center) in Germany. The European Community financed this project, commonly known as EU-147, from 1987 to 1994 as a part of the EUREKA research program.

As a doctoral student at Germany's University of Erlangen-Nuremberg, Karlheinz Brandenburg began working on digital music compression in the early 1980s, focusing on how people perceive music. He completed his doctoral work in 1989 and became an assistant professor at Erlangen-Nuremberg. While there, he continued to work on music compression with scientists at the Fraunhofer Society (in 1993 he joined the staff of the Fraunhofer Institute).[13]

In 1991 there were two proposals available: Musicam and ASPEC (Adaptive Spectral Perceptual Entropy Coding). The Musicam technique, as proposed by Philips (The Netherlands), CCETT (France) and Institut für Rundfunktechnik (Germany) was chosen due to its simplicity and error robustness, as well as its low computational power associated with the encoding of high quality compressed audio.[14] The Musicam format, based on sub-band coding, was the basis of the MPEG Audio compression format (sampling rates, structure of frames, headers, number of samples per frame). Much of its technology and ideas were incorporated into the definition of ISO MPEG Audio Layer I and Layer II and the filter bank alone into Layer III (MP3) format as part of the computationally inefficient hybrid filter bank. Under the chairmanship of Professor Musmann (University of Hannover) the editing of the standard was made under the responsibilities of Leon van de Kerkhof (Layer I) and Gerhard Stoll (Layer II).

A working group consisting of Leon van de Kerkhof (The Netherlands), Gerhard Stoll (Germany), Leonardo Chiariglione (Italy), Yves-François Dehery (France), Karlheinz Brandenburg (Germany) and James D. Johnston (USA) took ideas from ASPEC, integrated the filter bank from Layer 2, added some of their own ideas and created MP3, which was designed to achieve the same quality at 128 kbit/s as MP2 at 192 kbit/s.

All algorithms were approved in 1991 and finalized in 1992 as part of MPEG-1, the first standard suite by MPEG, which resulted in the international standard ISO/IEC 11172-3, published in 1993. Further work on MPEG audio was finalized in 1994 as part of the second suite of MPEG standards, MPEG-2, more formally known as international standard ISO/IEC 13818-3, originally published in 1995.[15]

Compression efficiency of encoders is typically defined by the bit rate, because compression ratio depends on the bit depth and sampling rate of the input signal. Nevertheless, compression ratios are often published. They may use the CD parameters as references (44.1 kHz, 2 channels at 16 bits per channel or 2×16 bit), or sometimes the Digital Audio Tape (DAT) SP parameters (48 kHz, 2×16 bit). Compression ratios with this latter reference are higher, which demonstrates the problem with use of the term compression ratio for lossy encoders.

Karlheinz Brandenburg used a CD recording of Suzanne Vega's song "Tom's Diner" to assess and refine the MP3 compression algorithm. This song was chosen because of its nearly monophonic nature and wide spectral content, making it easier to hear imperfections in the compression format during playbacks. Some jokingly refer to Suzanne Vega as "The mother of MP3"[16]. Some more critical audio excerpts (glockenspiel, triangle, accordion, etc.) were taken from the EBU V3/SQAM reference compact disc and have been used by professional sound engineers to assess the subjective quality of the MPEG Audio formats. It is important to understand that Suzanne Vega is recorded in an interesting fashion that results in substantial difficulties that arise due to Binaural Masking Level Depression (BMLD) as discussed in Brian C. J. Moore's book on the Psychology of Human Hearing, for instance.[page number needed]

Audio quality

When performing lossy audio encoding, such as creating an MP3 file, there is a trade-off between the amount of space used and the sound quality of the result. Typically, the creator is allowed to set a bit rate, which specifies how many kilobits the file may use per second of audio, as in when ripping a compact disc to MP3 format. Using a lower bit rate provides a relatively lower audio quality and produces a smaller file size. Likewise, using a higher bit rate outputs a higher quality audio, but also results in a larger file.

Files encoded with a lower bit rate will generally play back at a lower quality. With too low a bit rate, "compression artifacts" (i.e., sounds that were not present in the original recording) may be audible in the reproduction. Some audio is hard to compress because of its randomness and sharp attacks. When this type of audio is compressed, artifacts such as ringing or pre-echo are usually heard. A sample of applause compressed with a relatively low bit rate provides a good example of compression artifacts.

Besides the bit rate of an encoded piece of audio, the quality of MP3 files also depends on the quality of the encoder itself, and the difficulty of the signal being encoded. As the MP3 standard allows quite a bit of freedom with encoding algorithms, different encoders may feature quite different quality, even with identical bit rates. As an example, in a public listening test featuring two different MP3 encoders at about 128 kbit/s,[19] one scored 3.66 on a 1–5 scale, while the other scored only 2.22.

Quality is dependent on the choice of encoder and encoding parameters.[20] However, in 1998, MP3 at 128 kbit/s was only providing quality equivalent to HE-AAC at 64 kbit/s and MP2 at 192 kbit/s.[21]

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 bit rate.

In a listening test, MP3 encoders at low bit rates performed significantly worse than those using more modern compression methods (such as AAC). In a 2004 public listening test at 32 kbit/s,[22] the LAME MP3 encoder scored only 1.79/5 — behind all modern encoders — with Nero Digital HE AAC scoring 3.30/5.

Perceived quality can be influenced by listening environment (ambient noise), listener attention, and listener training and in most cases by listener audio equipment (such as sound cards, speakers and headphones).

References

  1. Jayant, Nikil; Johnston, James; Safranek, Robert (October 1993). "Signal Compression Based on Models of Human Perception". Proceedings of the IEEE 81 (10): 1385–1422. doi:10.1109/5.241504. 
  2. Mayer, Alfred Marshall (1894). "Researches in Acoustics". London, Edinburgh and Dublin Philosophical Magazine 37: 259–288. http://books.google.com/books?id=8-AnnZBNVk0C. 
  3. Ehmer, Richard H. (1959). "Masking by Tones Vs Noise Bands". The Journal of the Acoustical Society of America 31: 1253. doi:10.1121/1.1907853. 
  4. Terhardt, E.; Stoll, G.; Seewann, M. (March 1982). "Algorithm for Extraction of Pitch and Pitch Salience from Complex Tonal Signals". The Journal of the Acoustical Society of America 71: 679. doi:10.1121/1.387544. 
  5. Schroeder, M.R.; Atal, B.S.; Hall, J.L. (December 1979). "Optimizing Digital Speech Coders by Exploiting Masking Properties of the Human Ear". The Journal of the Acoustical Society of America 66: 1647. doi:10.1121/1.383662.  Received 8 June 1979; accepted for publication 13 August 1979
  6. Krasner, M. A. "Digital Encoding of Speech and Audio Signals Based on the Perceptual Requirements of the Auditory System"; Massachusetts Institute of Technology Lincoln Laboratory Technical Report 535; 18 June 1979
  7. Zwicker, E. F. "On the Psycho-acoustical Equivalent of Tuning Curves"; Proceedings of the Symposium on Psychophysical Models and Physiological Facts in Hearing; held at Tuzing, Oberbayern, April 22–26, 1974
  8. The Ear as a Communication Receiver. English translation of Das Ohr als Nachrichtenempfänger by Eberhard Zwicker and Richard Feldtkeller. Translated from German by Hannes Müsch, Søren Buus, and Mary Florentine. Originally published in 1967; Translation published in 1999.
  9. "The ASA Edition of Speech and Hearing in Communication", edited by J.B. Allen, Acoustical Society of America, reprinted in 1995
  10. IEEE Jour. Selected Areas in Commun., vol. 6, no. 2, Feb 1988
  11. Brandenburg, Karlheinz; Seitzer, Dieter (November 3–6 1988). OCF: Coding High Quality Audio with Data Rates of 64 kbit/s. Audio Engineering Society, 85th Convention. http://www.aes.org/e-lib/browse.cfm?elib=4721. 
  12. Johnston, James D. (1988). "Transform Coding of Audio Signals Using Perceptual Noise Criteria". Selected Areas in Communications, IEEE Journal on 6 (2): 314–323. doi:10.1109/49.608. 
  13. Jack Ewing (March 5, 2007). "How MP3 Was Born". BusinessWeek.com. http://www.businessweek.com/print/globalbiz/content/mar2007/gb20070305_707122.htm. Retrieved on 2007-07-24. 
  14. Press Release - Status report of ISO MPEG
  15. Brandenburg, Karlheinz; Bosi, Marina (February 1997). "Overview of MPEG Audio: Current and Future Standards for Low-Bit-Rate Audio Coding". J. Audio Eng. Soc 45 (1/2): 4–21. http://www.aes.org/e-lib/browse.cfm?elib=7871. Retrieved on 2008-06-30. 
  16. The Official Community of Suzanne Vega
  17. "MP3 Todays Technology." Lots of Informative Information about Music. 2005. <http://www.513rocks.com/>.
  18. a b Ruth Schubert (1999-02-10). "Tech-savvy Getting Music For A Song Industry Frustrated That Internet Makes Free Music Simple". Seattle Post-Intelligencer. http://seattlepi.nwsource.com/archives/1999/9902100013.asp. Retrieved on 2008-11-22. 
  19. Amorim, Roberto (2003-08-03), Results of 128 kbit/s Extension Public Listening Test, http://www.rjamorim.com/test/128extension/results.html, retrieved on 2007-03-17 
  20. Mares, Sebastian (2006–01), Results of Public, Multiformat Listening Test @ 128 kbit/s, http://www.listening-tests.info/mf-128-1/results.htm, retrieved on 2007-03-17 
  21. David Meares, Kaoru Watanabe & Eric Scheirer (1998–02) (PDF). Report on the MPEG-2 AAC Stereo Verification Tests. International Organisation for Standardisation. http://sound.media.mit.edu/mpeg4/audio/public/w2006.pdf. Retrieved on 2007-03-17. 
  22. Amorim, Roberto (2004-07-11), Results of Dial-up bit rate public Listening Test, http://www.rjamorim.com/test/32kbps/results.html, retrieved on 2007-03-17 
  23. Bouvigne, Gabriel (2006-11-28), freeformat at 640 kbit/s and foobar2000, possibilities?, http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=38808&view=findpost&p=452751, retrieved on 2007-03-17 
  24. tunequest (2007-02-26). "Big List of MP3 Patents (and supposed expiration dates)". http://www.tunequest.org/a-big-list-of-mp3-patents/20070226/. 
  25. http://bmrc.berkeley.edu/research/mpeg/software/Old/Mpeg93.ps.gz
  26. http://bmrc.berkeley.edu/research/mpeg/software/Old/mpegfa31.txt
  27. Patent Status of MPEG-1,H.261 and MPEG-2
  28. "Acoustic Data Compression -- MP3 Base Patent". Foundation for a Free Information Infrastructure. January 15, 2005. http://eupat.ffii.org/patents/samples/ep287578/index.en.html. Retrieved on 2007-07-24. 
  29. Muzinée Kistenfeger (May 2006). "The Fraunhofer Society (Fraunhofer-Gesellschaft, FhG)". British Consulate-General Munich. http://www.britischebotschaft.de/en/embassy/r&t/notes/rt-fs005_Fraunhofer.html. Retrieved on 2007-07-24. 
  30. "Early MP3 Patent Enforcement". Chilling Effects Clearinghouse. September 1, 1998. http://www.chillingeffects.org/patent/notice.cgi?NoticeID=464. Retrieved on 2007-07-24. 
  31. Glyn Moody (June 15, 2007). "Should We Fight for Ogg Vorbis? (Internet Archive copy)". Linux Journal. http://web.archive.org/web/20070617132646/http://www.linuxjournal.com/node/1000238. Retrieved on 2008-04-06. 
  32. "Audio MPEG and Sisvel: Thomson sued for patent infringement in Europe and the United States - MP3 players stopped by customs". ZDNet India. October 6, 2005. http://www.zdnetindia.com/news/pressreleases/stories/128960.html. Retrieved on 2007-07-24. 
  33. Erica Ogg (September 7, 2006). "SanDisk MP3 seizure order overturned". CNET News.com. http://news.com.com/2100-1047_3-6113326.html. Retrieved on 2007-07-24. 
  34. "Sisvel brings Patent Wild West into Germany". IPEG blog. September 7, 2006. http://ipgeek.blogspot.com/2006/09/sisvels-brings-patent-wild-west-into.html. Retrieved on 2007-07-24. 
  35. Martyn Williams (2007-02-26). "Texas MP3 Technologies claims the companies infringed its patent covering 'an MPEG portable sound reproducing system'". IDG News Service. http://www.infoworld.com/article/07/02/26/HNmp3lawsuits_1.html. 
  36. "Microsoft faces $1.5bn MP3 payout". BBC News. 2007-02-22. http://news.bbc.co.uk/2/hi/business/6388273.stm. Retrieved on 2008-06-30. 
  37. Anne Broache (2007-03-02). "Microsoft wins in second Alcatel-Lucent patent suit". CNET News.com, published on ZDNet news. http://news.zdnet.com/2100-3513_22-6163828.html. 
  38. "Court of Appeals for the Federal Circuit Decision" (PDF). http://www.cafc.uscourts.gov/opinions/07-1546.pdf. 

External links