DSP Engine: Headroom Management

DSP Engine: Headroom Management


Headroom Management is part of the DSP Engine. For more information on accessing the DSP Engine, see here.

Digital signal processing can result in "clipping", or audio samples that exceed the allowed range. These samples are "clipped" to a maximum or minimum value. In some cases this can produce audible distortion. This is easily avoided by slightly attenuating the signal – to make "headroom" for sample values that may increase as a result of signal processing.

Headroom Management is at the top of the list because it's one of the most important things to pay attention to in Roon's DSP Engine. If things don't sound right, one of the first things you should do is make sure that the signal isn't clipping.

How to Manage Headroom

Find the Headroom Management screen.

Headroom Management is part of the DSP Engine. For more information accessing the DSP Engine, see here.

Turn on the Clipping Indicator.

It's not possible to turn on the clipping indicator without enabling headroom management, but if you set the Headroom Adjustment to 0dB, the audio stream will not be modified.

Watch out for Clipping

When clipping occurs, the signal path light will momentarily turn red like this:

Roon's clipping indicator is always at maximum sensitivity: even a single sample can set it off.

If you see clipping, try creating a little bit more headroom.

You add headroom by making the number more negative. So if you are getting clipping at -3dB, try -3.5dB or -4dB next.

Why Clipping occurs

There are several reasons why clipping may occur, and not all of them are immediately intuitive.

Because the DSP is actually making things louder

This is a "simple" case. It's possible to configure all of these filters in a way that increases the overall playback volume.
  1. Parametric Equalizer
  2. Procedural Equalizer
  3. Convolution
  4. Speaker Setup
Sometimes the easiest solution is to reconfigure these elements to be quieter, and other times, it's simpler to compensate using headroom management. Up to you.

Because of "inter-sample overs"

It's possible for a totally "in-range" piece of source material "out-of-range" samples after upsampling. The very simple explanation is: when the interpolator "connects the dots" to form a signal at a higher sampling rate, sometimes the new "dots" fall out of range.

This is essentially a defect introduced in the mastering process, and is not a problem with the upsampler. Unfortunately, most software silently ignores these defects, and provide no means to track or manage them.

Because of minimum phase processing

Because of the phase shift associated with minimum phase processing, it's possible for DSP that doesn't make things louder to nonetheless cause individual samples to clip. Roon's equalizer features are all minimum phase, and its sample rate converters can be configured to be minimum phase. Convolution filters may be minimum phase depending on how they were constructed.

    • Related Articles

    • DSP Engine

      DSP Engine gives you tools that can create loud or potentially damaging sounds. Experiment at low volume levels until you are confident that things are alright. If in doubt, ask for help. Getting Started Each zone has its own, independently ...
    • DSP Engine: Parametric Equalizer

      Introduction The Parametric Equalizer is part of the DSP Engine. For more information on accessing the DSP Engine, see here. Each DSP Engine configuration comes with a Parametric Equalizer by default. You can configure multiple equalizers if desired ...
    • DSP Engine: Sample Rate Conversion

      Overview Most people using the sample rate conversion features in Roon will be performing upsampling, which is generally considered to provide an enhancement. This effectively increases the resolution of the audio signal leaving Roon. Roon's sample ...
    • DSP Engine: Accessing DSP Engine

      There are several ways to open the DSP Engine screen. From your volume controls: By right-clicking or long-pressing the current zone icon: From Signal Path: Using a keyboard shortcut: Windows: Ctrl-/ Mac: Command-/
    • DSP Engine: Procedural Equalizer

      The Procedural Equalizer is part of the DSP Engine. For more information on accessing the DSP Engine, see here. The procedural equalizer is used for advanced DSP configurations like digital crossovers, custom crossfeeds, and manual room correction. ...
    Visit the Roon Community!
    Need help? Thousands of Roon subscribers and audio enthusiasts are chatting over on our community site right now, join them! You don't even need a Roon subscription to sign up.