How Opus Audio Handles Frequencies Above 20 kHz

The Opus audio codec is highly regarded for its versatility and efficiency, but its handling of ultra-high frequencies is governed by strict psychoacoustic design. This article explains how the Opus format manages audio frequencies above 20 kHz, detailing its sampling rate limits, internal bandwidth configurations, and the technical reasons why these high frequencies are filtered out during the encoding process.

The 20 kHz Bandwidth Limit (Fullband)

While the Opus codec supports an input and output sampling rate of up to 48 kHz, it does not encode frequencies up to the theoretical Nyquist limit of 24 kHz. Instead, Opus caps its maximum audio bandwidth at 20 kHz, which is designated as “Fullband” mode.

To achieve this, the encoder applies a low-pass filter that effectively cuts off all audio information above 20 kHz. Any frequency components present in the original source material above this threshold are discarded during the encoding process and are not reconstructed upon decoding.

Why Opus Discards Frequencies Above 20 kHz

The decision to filter out frequencies above 20 kHz is rooted in psychoacoustics and data efficiency:

In summary, the Opus audio format handles frequencies above 20 kHz by filtering them out entirely. Even when operating at a 48 kHz sample rate, Opus prioritizes human auditory limits, using a low-pass filter at 20 kHz to deliver maximum coding efficiency and superior sound quality within the audible spectrum.