- Introduced by
- Eberhard Zwicker
- Year
- 1961
- Type
- Perceptual model for audio systems
- Family
- Psychoacoustics, Auditory perception
What does it do?
Psychoacoustic masking describes how the presence of a stronger sound raises the level at which a weaker sound can be heard, both in frequency and in time.
Zwicker's psychoacoustic work in the 1960s established the basis for these effects, which underlies perceptual audio coding, the approach used in codecs such as MP3, AAC and OPUS. Understanding masking shows which parts of a signal a listener cannot perceive, and therefore which parts can be removed or coarsely represented without an audible change.
The intuition behind the method
Think of following one voice in a crowded room: the background chatter does not stop you from hearing your friend, but a louder nearby sound can make a quieter sound inaudible. Masking is the perceptual version of this effect. A masker raises the threshold that a weaker signal must exceed before it is heard, and the raised threshold spreads to neighbouring frequencies and over a short period before and after the masker. Audio codecs treat this threshold as a budget: components below it are treated as inaudible, and the remaining components receive the bits. The effect arises from the limited frequency and time resolution of the auditory system, not from the sound being physically blocked.
History
Zwicker's psychoacoustic work in the 1960s measured and modelled masking in frequency and time. Moore's textbook on hearing describes the critical-band and cochlear basis of these effects. Johnston's 1988 paper applied a psychoacoustically derived noise threshold to transform coding of audio, which is the step from masking as a perceptual effect to a coding tool. Later standards-based codecs such as MP3 and AAC built on this approach.
When to use it
Choose masking-based models when the question is what a listener can perceive: perceptual audio coding where file size or bandwidth is constrained, speech and audio enhancement that must keep residual noise inaudible, and judging whether a degradation is audible. Do not use them to judge full-fidelity work such as studio mastering, where the aim is to preserve the signal rather than to discard what is inaudible. They are also a poor fit for listeners whose hearing differs substantially from normal unless the model is adjusted. A masking model gives a threshold, not an overall quality score, so a listening test or a validated quality measure is still needed for the final judgement.
Limitations and considerations
- Thresholds differ between listeners, and standard curves describe normal hearing, so predictions for hearing-impaired listeners are less reliable.
- Models assume approximately linear auditory processing; nonlinear effects such as loudness recruitment are not captured by a simple threshold.
- Temporal masking is less well characterised than frequency masking, so the pre- and post-masking windows are the weakest part of the approach, especially for transients.
- Thresholds depend on the type and structure of the masker; curves measured with simple tones or narrow-band noise may not transfer directly to complex speech or music.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The threshold is computed from the signal's own short-term spectrum, so the bit allocation adapts segment by segment rather than applying one fixed rule to all material, as in Johnston's 1988 coder.
- It exploits limits of the auditory system rather than arbitrary cut-offs, so the components that are discarded or coarsely coded are those a listener is not expected to hear.
- Johnston's threshold was evaluated in a formal subjective test on a wide selection of monophonic inputs of 15 kHz bandwidth sampled at 32 kHz, where the coded signal could not be distinguished from the original at 128 kb/s.
- Frequency masking maps onto critical bands, so the analysis can operate on groups of frequency bins rather than on every bin, which keeps the computation compact.
Applications
- Perceptual audio coding: masking thresholds decide which components can be coarsely quantized, which is the basis of codecs such as MP3, AAC and OPUS.
- Speech enhancement and noise reduction: residual noise can be shaped to fall under the masking threshold of the speech, so it is less audible.
- Hearing aid design: masking-based processing must account for the altered thresholds of hearing-impaired listeners, which generally requires adjusting the standard model.
- Audio restoration and mixing: judging which degradation or frequency overlap is perceptually significant, so that restoration effort and EQ decisions target audible problems such as one instrument masking another.
How it works
How it works
Record or synthesize an audio signal containing both masking noise (or tones) and test signals (tones or noise of varying frequency and intensity).
Normalize signal levels, apply frequency-domain windowing, and decompose the signal into frequency bands (using filterbanks or Fourier analysis) to enable band-specific masking analysis.
For each frequency band, estimate the masking threshold: the lowest level of a test tone or noise in that band that a listener can detect while the masker is present. Measure frequency masking (energy at one frequency raising thresholds at nearby frequencies) and temporal masking (a masker raising thresholds shortly before and after it) as separate effects, because they act over different time scales.
Model the masking threshold as a function of the masker's spectrum. Frequency masking is represented in critical bands, so that energy in one band raises the threshold in neighbouring bands according to a spreading function. Temporal masking is represented by a window that raises the threshold shortly before and after the masker. The shape of the spreading function and the time constants of the window are empirical fits to listening data, and their exact values differ between published models, so they should be taken from the cited sources rather than assumed. Johnston's 1988 coder derived its noise threshold from the short-term spectrum of each signal segment, which shows how such a model is applied in practice. A model is only as reliable as the listening data behind it.
Use the threshold to decide how much quantization noise each band can carry without being heard. Components well above threshold receive more bits, while components below it can be coarsely quantized or removed. In Johnston's coder, the quantization noise was shaped to follow the psychoacoustically derived threshold.
Common pitfalls
- Under-estimating temporal masking in transient-rich material such as speech or percussion leaves quantization noise before an attack, which is heard as pre-echo.
- Applying normal-hearing thresholds to hearing-impaired listeners can hide audible artifacts from the model.
- Treating a masked artifact as inaudible in isolation: several coded components or channels can add together, and noise that is masked alone may become audible in context.
- Reading a masking threshold as a quality score. It indicates what is masked, not how good the output sounds overall, and a bit rate that was transparent for one test set should not be assumed for other codecs or material.
Frequently asked questions
What is the difference between frequency masking and temporal masking?
Frequency (spectral) masking occurs when a sound at one frequency raises the threshold for sounds at nearby frequencies, so a loud low-frequency bass can hide midrange content. Temporal masking acts in time: a loud sound masks softer sounds shortly before it (pre-masking) and for a longer period after it (post-masking). Temporal masking is harder to model, and the time windows used in codecs are less firmly established than the frequency results.
What is critical bandwidth and why does it matter?
Critical bandwidth is the frequency range within which masking acts most strongly, and it reflects the frequency resolution of the cochlea. Below about 500 Hz it is roughly 100 Hz wide, and above about 500 Hz it widens progressively with frequency; the exact values are given in Moore's textbook. Codecs group frequency bins into critical bands so that each band is treated as one unit for masking and bit allocation.
How much can audio be compressed using masking?
Masking does not guarantee a single compression ratio. Johnston's 1988 coder was reported as transparent at 128 kb/s for monophonic material of 15 kHz bandwidth sampled at 32 kHz, and informal work suggested 96 kb/s might keep transparency for the same inputs. The achievable rate depends on the signal, the masking model and the listener, and results from one test set should not be assumed for other codecs or material.
Can hearing-impaired listeners perceive sounds that normal listeners find masked?
Hearing loss can change masking thresholds: some listeners need louder signals to detect them, and their frequency dependence may differ. Loudness recruitment, in which loudness grows steeply with level, is one form of nonlinear processing that a simple threshold does not capture. Standard models assume normal hearing, so they need adjustment for hearing-impaired applications, and normal-hearing masking curves should not be assumed to apply to these listeners.
What artifacts result from improper masking threshold estimation?
Under-estimating masking allocates too few bits, causing audible quantization noise, pre-echo before transients and temporal smearing. Over-estimating masking wastes bits without improving perceived quality beyond transparency.
Related methods
Sources
Zwicker, E., & Scharf, B. (1965). Psychoacoustics: Facts and Models. Springer-Verlag.
ISBN: 978-3540631644Moore, B. C. J. (2012). An Introduction to the Psychology of Hearing (6th ed.). Academic Press.
ISBN: 978-0123914232Johnston, J. D. (1988). Transform coding of audio signals using perceptual noise criteria. IEEE Journal on Selected Areas in Communications, 6(2), 314–323.
Open DOI reference