Menu

Loudness Detection Threshold

Did you hear the tone?
Sound:
Thresholds table
Frequency (Hz) Loudness (dBFS)
dBFS - deciBels relative to full scale. Any sound emitting device cannot produce sounds greater than its hardware allows. Therefore, it is impossible to determine the deciBels without an audio detector. Thus, one way to determine the loudness generated by a computer is to define its maximum amplitude as one. In general, one signal is 80dB relative to something else. The reference point we usually use to measure sounds in the physical world is the Sound Pressure Level, or dB SPL. Its reference sound is a very quiet one: The lower threshold of human hearing, or, "roughly the sound of a mosquito flying 3 m away". So effectively, when we want to talk about loudness in decibels, we always compare it to the sound that mosquito at the other end of the room is making. All we can really do in Web Audio is measure wave amplitudes and let the user's audio system determine how loud they actually end up being. But what we can do is define how loud our sounds are relative to each other. For this purpose, a useful decibel measurement for us is Decibels relative to full scale (dBFS), which is anchored on the maximum peak level possible in the system.

There's a exponential relationship that relates to loudness: When we make a sound a certain amount of decibels louder, the underlying sound wave's peak amplitude grows exponentially.

The specific formula for the decibel level of a sound wave is

The a here is the amplitude of the wave and a0 is the amplitude of the reference wave - the sound we are anchoring to. In dB SPL (the mosquito three meters away) a0 is 0.00002, and in dBFS (which we commonly use in Web Audio) it is 1. In the latter case the formula conveniently simplifies to

d = 20 * log10(a).

We can also flip the formula around, so that if we know the desired decibel level (dBFS), we can get the corresponding amplitude from that:

a = 10d/20

What these formulas are saying is that as we increase the decibel level d, the sound wave amplitude grows very quickly, by a factor of 10d. Or, conversely, as we increase the amplitude, the decibel level grows more slowly than that. We need a large change in amplitude to get an audible difference in the sound level.