MP3
MP3 is the format that made digital music portable. It is lossy, uses psychoacoustic models to discard what listeners are unlikely to notice, and plays on essentially anything with a speaker.
At a glance
- MIME type
- audio/mpeg
- Extensions
- .mp3
- Kind
- Audio
- Compression
- Lossy
- Type
- Encoded bitstream
- Transparency
- Not supported
- Bit depth
- 16-bit source, perceptual coding
File structure
An MP3 file is a chain of frames, each holding a short block of samples, preceded by an optional ID3 tag for title, artist and cover art. Because frames are independent, a damaged byte usually costs a fraction of a second rather than the whole file.
How the data is compressed
MP3 splits audio into frequency bands, applies a modified DCT and quantises aggressively where masking makes the loss inaudible. Bitrate is the main dial: 320 kbps keeps far more detail than 96 kbps, at roughly three times the size.
Where it is accepted
The widest audio compatibility of any format: car stereos, MP3 players, old phones, TVs, browsers. Almost nothing refuses an MP3.
Strengths
- Plays on virtually every audio device ever made.
- Small files at usable quality, especially for speech.
- Simple, robust framing that survives partial corruption.
Weaknesses
- Lossy: converting back to WAV does not restore anything.
- Transparent only at high bitrates for critical music listening.
- No standard multi-channel or object-audio support.
Typical uses
- Podcasts, voice notes and lecture recordings.
- Music for cars, players and offline listening.
- Anywhere a small, universally playable file is required.
Common problems
- Converting MP3 to WAV produces a ten-times-larger file with no quality gain.
- Re-encoding an existing MP3 at another bitrate adds another generation of loss.
- Gapless playback is unreliable because of encoder padding at frame boundaries.