Masking threshold

From HandWiki
Revision as of 06:43, 5 August 2021 by imported>PolicyEnforcerIA (attribution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The masking threshold is the sound pressure level of a sound needed to make the sound audible in the presence of another noise called a "masker". This threshold depends upon the frequency, the type of masker, and the kind of sound being masked. The effect is strongest between two sounds close in frequency.

In the context of audio transmission, there are some advantages to being unable to perceive a sound. In audio encoding for example, better compression can be achieved by omitting the inaudible tones. This requires fewer bits to encode the sound, and reduces the size of the final file.

Applications in audio compression

It is uncommon to work with only one tone. Most sounds are composed of multiple tones. There can be many possible maskers at the same frequency. In this situation, it would be necessary to compute the global masking threshold using a high resolution Fast Fourier transform via 512 or 1024 points to determine the frequencies that comprise the sound. Because there are bandwidths that humans are not able to hear, it is necessary to know the signal level, masker type, and the frequency band before computing the individual thresholds. To avoid having the masking threshold under the threshold in quiet, one adds the last one to the computation of partial thresholds.[clarification needed] This allows computation of the signal-to-mask ratio (SMR).

Spectrum chart
The spectrum of a 1 kHz tone. A sound will not be heard if it is under the threshold in quiet. This limit changes around the masker frequency, making it more difficult to hear a nearby tone. The slope of the masking threshold is steeper toward lower frequencies than toward higher frequencies, which means it is easier to mask with higher frequency tones.

The psychoacoustic model

The MPEG audio encoding process leverages the masking threshold. In this process, there is a block called "Psychoacoustic model". This is communicated with the band filter and the quantify block. The psychoacoustic model analyzes the samples sent to it by the filter band, computing the masking threshold in each frequency band using a Fast Fourier transform. The number of points used depends upon the MPEG layer. Using these thresholds, the signal-to-mask ratio is determined and sent to the quantifier. The quantifier assigns more or less bits in each block based upon the SMR. The block with the highest SMR will encode with the maximum number of bits.