Tech●●●●●Difficulty 4 of 5

How can an MP3 throw away most of a song and still sound the same?

An MP3 can be a tenth the size of the CD it came from because it deletes sounds your ears would probably not have noticed anyway.

▶ Start the story

An MP3 can throw away most of a song's data and still sound like the original to most listeners because it mainly discards what human hearing is unlikely to notice. Compared to CD-quality digital audio, MP3 compression can commonly achieve a 75 to 95 percent reduction in size. Uncompressed CD audio runs at 1,411,200 bits per second, and MP3 was designed to encode that at 320 kbit/s or less. A commonly used rate of 128 kbit/s gives a compression ratio of 11 to 1, offering adequate quality in a small space.

The trick is a limit of human hearing called auditory masking: the perception of one sound is affected by the presence of another. Picture a cat scratching a post in a quiet room, which one listener first hears at 10 . With a vacuum cleaner running, that same listener could not detect the scratching unless it reached at least 26 dB SPL. In the same way, a powerful spike at 1 kHz will tend to mask a lower-level tone at 1.1 kHz. That limit of hearing is what the MP3 algorithm takes advantage of, together with , which reduces precision and partially discards data. The physicist Alfred Mayer had reported in 1894 that a tone could be made inaudible by another tone of lower frequency.

How an MP3 shrinks a song
  1. Step 1: Start with CD audio

    1,411,200 bits per second

  2. Step 2: Ask what you would hear

    Auditory masking: loud sounds hide quieter ones

  3. Step 3: Discard the masked detail

    drops data for good

  4. Step 4: Choose a

    Such as 128 kbit/s, about 11 to 1

There is always a trade. The higher the , the larger the file and, generally, the closer it sounds to the original. But the combination of small size and acceptable fidelity led to a boom in sharing music online in the late 1990s, when bandwidth and storage were at a premium.

Quiz me

0/3

  1. 1.Which feature of human hearing does MP3 compression exploit?
  2. 2.What happens to the data an MP3 encoder judges you would not hear?
  3. 3.Why was "Tom's Diner" used to test the MP3 algorithm?

Recap

MP3 deletes what masking hides from your ears, and the bit rate sets how much it keeps.

💡 A trick to remember it · A shout hides a whisper: MP3 keeps the shout and skips the whisper you could not hear anyway.

Surprising fact · Its test song was Suzanne Vega's "Tom's Diner".

Sources (2)

No source, no claim. Every fact in this lesson (15 claims) cites at least one of these.

  1. [1]MP3 · Wikipedia
  2. [2]Auditory masking · Wikipedia
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗