Jump to content

Gain Staging and Calibration

From NAMFORUM Wiki

Gain Staging and Calibration

Gain staging and calibration are fundamental to creating accurate and portable captures.

A capture system does not work only with the sound of a device. It also measures how that device responds to a particular input level. If the level presented to the device during capture is different from the level assumed during playback, the resulting model may respond differently from the original equipment.

This is especially important with nonlinear equipment such as amplifiers, overdrive pedals, distortion devices, compressors, preamps, and other equipment whose behavior changes with signal level.

Gain staging and calibration are not the same thing

The terms are related but describe different concerns.

Gain staging is the management of signal levels throughout the capture chain so that each stage operates in an appropriate range without unwanted clipping, excessive noise, or unintended attenuation.

Calibration establishes a meaningful relationship between the digital signal level inside the capture system and the electrical signal level presented to or received from the device under test.

A capture can have excellent gain staging and still be incorrectly calibrated.

Likewise, a nominally calibrated system can produce a poor capture if a stage in the signal chain clips or has excessive noise.

Why input level matters

Many devices used in music production are nonlinear.

Consider an amplifier. A small input signal may produce a relatively clean output. Increasing the input level may cause progressively more compression, harmonic distortion, saturation, or clipping.

A capture made with the wrong input level therefore may not merely be louder or quieter. It may represent different behavior.

The same principle applies to many pedals, preamps, compressors, and analog processors.

Digital level and analog level

Digital audio level is commonly expressed in dBFS (decibels relative to full scale).

Analog equipment may instead be described using units such as:

  • dBu
  • dBV
  • volts RMS
  • volts peak
  • instrument level
  • line level

These are not interchangeable.

For example, a test signal at -12 dBFS does not by itself tell us the voltage appearing at an audio interface output.

That voltage depends on the interface, output configuration, reference level, gain controls, and possibly software settings.

Consequently:

dBFS alone does not define the electrical level presented to the device under test.

Interface output level

Different audio interfaces can produce different analog voltages for the same digital signal.

Some interfaces also provide selectable operating levels, variable output controls, or different specifications for balanced and unbalanced operation.

Therefore, two users can play exactly the same digital training file at exactly the same DAW level and still present different electrical levels to identical amplifiers.

This is one reason calibration becomes important when captures are exchanged between systems.

Reamp devices and level

A reamp device can alter the level between the interface and the device under test.

Passive and active reamp devices may have different characteristics, and some provide adjustable output controls.

Changing the reamp level changes the signal reaching the equipment and therefore may change the behavior being captured.

For repeatable work, document the reamp configuration and any variable controls.

A reamp device should not be treated as a universal calibration device unless it is specifically designed and used for that purpose.

Input calibration

Input calibration concerns the relationship between the digital test signal and the analog level presented to the device being captured.

The exact procedure depends on the capture platform.

Where a platform provides an official calibration procedure or reference level, follow that procedure rather than substituting a generic value.

Useful measurements may involve:

  • Known digital test tones
  • Interface output specifications
  • AC voltage measurements
  • Known reference levels
  • Capture-system calibration values

The objective is not simply to make the signal "loud enough." The objective is to know what electrical level corresponds to the digital level used by the capture system.

Output and return calibration

The return side also matters.

After passing through the device under test, the signal enters an audio interface or capture device.

The interface input gain determines the relationship between the analog output of the device and the recorded digital level.

Incorrect return gain may cause:

  • Clipping
  • Excessive noise
  • Incorrect model output level
  • Poor signal-to-noise ratio
  • Difficulty comparing the capture with the original equipment

Some capture systems normalize or otherwise compensate for portions of the return level. Others may retain meaningful level relationships.

Consult the documentation for the specific platform.

Avoid clipping

Digital clipping occurs when the signal exceeds the available digital range.

Analog clipping can occur earlier in the chain even when the recorded waveform never reaches 0 dBFS.

Potential clipping points include:

  • Interface output stage
  • Reamp or capture device
  • Device under test
  • Load or direct-output device
  • Microphone preamp
  • Interface input stage
  • Digital recording path

A meter showing no digital clipping proves only that the measured digital stage did not exceed full scale. It does not prove that every analog stage was clean.

Of course, intentional distortion produced by the device being captured is different from unintended overload elsewhere in the signal chain.

Signal-to-noise ratio

Setting levels unnecessarily low can create another problem.

If the return signal is very quiet and later requires substantial amplification, noise from the equipment and recording chain is amplified along with it.

The objective is therefore not simply "keep everything low."

Good gain staging means maintaining appropriate levels throughout the chain while preserving adequate headroom.

Controls that can invalidate calibration

Be aware of any variable control between the digital test signal and the device under test.

Examples include:

  • DAW faders
  • Interface mixer levels
  • Hardware output knobs
  • Reamp level controls
  • Digital mixer routing
  • Monitor-controller levels
  • Software mixer attenuation

Likewise, variable controls in the return path can change the recorded level.

Once a system has been calibrated, avoid changing these controls unless the calibration is repeated or the effect of the change is known.

Document calibration

Captures intended for distribution should include meaningful calibration information whenever the platform supports it.

Useful information can include:

  • Audio interface model
  • Interface output used
  • Output reference level or setting
  • Reamp/capture device
  • Reamp control position
  • Capture-system input calibration value
  • Interface input used
  • Input gain
  • Relevant measurement procedure
  • Capture software and version

This information makes it easier to reproduce, diagnose, and compare captures.

Platform-specific requirements

There is no single calibration procedure that should automatically be applied to every capture platform.

Neural Amp Modeler, TONEX, Kemper Profiling, Neural Capture, Line 6 Proxy, and other systems may use different capture signals, workflows, assumptions, and compensation methods.

Follow the official requirements of the system being used.

Platform-specific calibration information belongs in the corresponding platform articles.

Practical principle

When troubleshooting a capture, separate two questions:

  1. Is the signal clean and appropriately staged?
  2. Is the signal calibrated to the level expected by the capture system?

They are not the same question.

A clean waveform is not proof of correct calibration, and correct calibration is not proof that nothing in the chain is clipping.

See also

Discuss gain staging and calibration on NAMFORUM