Family Encyclopedia >> Electronics

How Audio Compression Works: Bitrate, Psychoacoustics, and the Truth About Lossless Audio

Spotify recently began testing lossless audio streaming, sparking curiosity among listeners. But what exactly is lossless audio, and how does digital audio compression function behind the scenes?

Contents: How does audio compression work? | Bitrate | Psychoacoustics | What is "lossless" audio? | Conclusion: Can you tell the difference?

How Does Audio Compression Work?

How Audio Compression Works: Bitrate, Psychoacoustics, and the Truth About Lossless Audio

Bitrate determines the number of bits used to encode one second of audio. At a low bitrate like 8 kilobits per second (kbps), the algorithm has limited data—similar to rendering a color photo with just hundreds of pixels. The result is a degraded image that captures broad strokes but misses nuances. Higher bitrates, such as 192 kbps, provide ample data for detailed lights, shadows, and colors. While high bitrate doesn't guarantee top quality, low bitrate severely restricts it.

Psychoacoustics

How Audio Compression Works: Bitrate, Psychoacoustics, and the Truth About Lossless Audio

Psychoacoustics studies how the human brain perceives sound. Compression algorithms leverage these perceptual quirks to discard inaudible details without compromising perceived quality, focusing on redundant or imperceptible information.

Human hearing typically spans 20 Hz to 20 kHz, so frequencies outside this range can be safely removed. The most sensitive range is 100 Hz to 4 kHz; faint sounds beyond this have minimal impact when eliminated. "Sound masking" is another key principle: a loud sound drowns out a quieter one played simultaneously, allowing encoders to cut the faint audio and save bits.

Frequency interactions matter too—a sustained low-frequency drumbeat can mask delicate high-frequency harmonics from melodic instruments. Masking is especially effective above 15 kHz, where sensitivity wanes. Formats like MP3 exploit these techniques to shrink files while staying faithful to the original. However, some audiophiles argue this discards valuable details, paving the way for lossless alternatives.

What Is "Lossless" Audio?

How Audio Compression Works: Bitrate, Psychoacoustics, and the Truth About Lossless Audio

Lossless compression shrinks files without altering the original audio data. Unlike lossy methods, it employs reversible techniques akin to ZIP files, eliminating only redundancies while preserving every bit.

Popular codecs like FLAC and Apple Lossless (ALAC) use these ZIP-inspired methods, retaining details that MP3 would discard. With high-end headphones and discerning ears, the difference is noticeable.

Beyond playback, lossless formats excel for archiving. Just as you'd avoid a low-res JPEG of an Ansel Adams print or a 128 kbps MP3 of Miles Davis's Kind of Blue, FLAC enables efficient storage of pristine masters—ideal for remastering and redistribution.

Conclusion: Can You Tell the Difference?

Lossless audio delivers superior fidelity, though differences from high-quality MP3s may elude casual listeners. Test your setup with NPR's blind listening challenge, but note that budget headphones or laptop speakers won't reveal subtleties. For in-depth codec analysis, explore SoundExpert Encoder Ratings.