Linux Studio Plugins Project

# Loudness Compensator Mono

Detailed: LSP Loudness Compensator Mono (LK1M)

Formats: CLAP, GST, LADSPA, LV2, VST2, VST3

Categories: Amplifier

Developer: Vladimir Sadovnikov

Description:

This plugin applies equal loudness contour corrections to the input signal.

An equal-loudness contour is a measure of sound pressure level (SPL), over the frequency spectrum, for which a listener perceives a constant loudness when presented with pure steady tones. The unit of measurement for loudness levels is the phon and is arrived at by reference to equal-loudness contours. Additionally, the phon unit shows the actual SPL (in decibels) of the pure sine wave at the 1000 Hz frequency. By definition, two sine waves of differing frequencies are said to have equal-loudness level measured in phons if they are perceived as equally loud by the average young person without significant hearing impairment.

The figure below illustrates the measured equal loudness contours for previous standards - Fletcher and Munson (published in 1933) and Robinson and Dadson (published 1956) and the actual ISO 226:2003 standard published in 2003:

The equal loudness contour curves show two aspects of the way sounds are perceived. For one, sounds at different frequencies need to have substantially different SPL levels to sound equally loud so that, for instance, a 30Hz sinewave and hence the 30Hz content of any sound in general needs to be more than 10 db SPL louder than the 1000Hz content to sound equally loud, when the latter is at 100 dB SPL, i.e. at 100 phon.

Apart from that though the curves do not retain their overall shape as the volume changes, so that if you attenuated the 1000 Hz content by 20 dB SPL (ending up at 80 phon), you would need to attenuate the 30 Hz content by only 10 dB SPL to maintain equal loudness. Seen the other way round, if you simply attenuated all content by 20 dB SPL, the 30 Hz content would sound significantly less loud in comparison to the 1000 Hz content than before, i.e. turning a volume knob changes equalization along with volume.

The upshot of this in practice is that if a track was mixed to sound a certain way at, say 83 dB SPL, i.e. with the equipment set up so that it will reproduce a 1000 Hz tone at 83 dB SPL, then it will no longer sound the same when listened to at lower levels, as the bass and treble content will sound less loud than the midrange content. Conversely, if it was mixed at lower levels, but reproduced at higher levels, bass and treble content will be boosted.

Usage of equal-loudness contours solves many mixing problems that every sound engineer meets while working on the track. The main problem is that human ear perceives different frequencies for different volume settings in a different way. In other words, applying changes to the mix on the low volume settings may cause unexpected (sometimes horrible) sounding of the mix at the maximum loudness.

To avoid this, the calibration of the audio system is performed, so the digital signal with the maximized loudness gives a 83 dB SPL level at the output. The 83 Phon equal loudness curve (can be linerarly approximated from other curves on the figure) is considered having flat frequency response, frequency responses for other SPL levels are computed by subtracting the corresponding equal loudness curve from the 83 phon curve.

This plugin performs such frequency response computations and applies the computed frequency response to the input signal depending on the output volume settings. Additionally it can provide ear protection by applying hard-clipping to the output signal if it exceeds the allowed configurable level.

Preparing the sound system for work.

The plugin assumes the 83 phon equal loudness curve being a flat frequency response. For that case the audio system needs to be calibrated for the 83 dB output loudness. The plugin can generate a 0 dBFS sine wave digital reference signal at 1000 Hz which can be reproduced by the audio system and measured by the SPL meter.

As an alternative, you also can use pink noise generator at different standard loudness level meters:

- -23 LUFS used by the EBU R.128 standard;
- -20 LUFS, -14 LUFS and -12 LUFS used by the K metering system specification;
- -18 LUFS and -16 LUFS used by the AES TD1004.1.15-10 standard;

Since measured reference signal matches the same loudness level, the amplification knob of the audio system should be adjusted to reach the 83 dB SPL level on the SPL meter. After that, the Volume knob can be used to attenuate the overall loudness of the system while preserving equal loudness perception by the ear.

Controls:

- Bypass - bypass switch, when turned on (led indicator is shining), the plugin bypasses signal.
- Input - the input gain settings, allows to adjust the level of the input signal to the desired level.
- Reference - turns on the reference signal for calibration purposes.
- Reference type combo - allows to select the type of the reference signal:

- Sine @ 1kHz 0 dBFS - the pure sine wave at 1000 Hz frequency and 0 dBFS amplitude, fully reflects the same value in phons;
- Pink Noise @ -23 LUFS - pink noise at -23 LUFS, may be useful for audio broadcasting according to the EBU R.128 standard;
- Pink Noise @ -20 LUFS - pink noise at -20 LUFS, the actual 0 dB value for the K20 metering system;
- Pink Noise @ -18 LUFS - pink noise at -18 LUFS, may be useful for audio broadcasting according to the AES TD1004.1.15-10 standard;
- Pink Noise @ -16 LUFS - pink noise at -16 LUFS, may be useful for audio broadcasting according to the AES TD1004.1.15-10 standard;
- Pink Noise @ -14 LUFS - pink noise at -14 LUFS, the actual 0 dB value for the K14 metering system;
- Pink Noise @ -12 LUFS - pink noise at -12 LUFS, the actual 0 dB value for the K12 metering system.

- Mode - allows to switch between linear phase filter and minimum phase filter:

- FFT
- the linear phase filter mode processing using FFT transfrorm.
- IIR
- the minimum phase filter mode processing using digital biquad filters.

- Contour - allows to select different equal loudness contour:

- Flat - applies flat frequency response to the whole spectrum. Is similar to just a gain knob but useful to perform a comparison to other mode
- ISO 226:2003 - applies recent ISO 226-2003 contours to the signal
- ISO 226:2023 - applies recent ISO 226-2023 contours to the signal
- Fletcher and Munson - applies Fletcher and Munson (1933) contours to the signal
- Robinson and Dadson - applies Robinson and Dadson (1956) contours to the signal

- Quality - the quality of the filter curve approximation.

- For FFT mode it allows to select size of the FFT frame used for the processing. The larger FFT frame is, the more precise the curve is approximated and the more latency the plugin introduces.
- For IIR mode it allows to select the number of filters and their slopes for the processing. The greater quality is set, the more filters are added and the more CPU processing is required.

- Volume - the output volume of the signal with applied equal loudness contour, controls the loudness of the 1 kHz pure sine wave
- Clipping - allows to enable and set the gap level for the hard clipping of the output signal
- Reset - reset leds that indicate that hard clip occurred in the clipping mode
- Relative - draws the frequency response in relative to the loudness mode when enabled