---
title: Sound waves
heading: Pressure waves, decibels and microphones
eyebrow: B8 · Lesson 3 · Sound
xp: 40
---

::: hook
Sound is a pressure wave: the air is squeezed and stretched a few hundred times a second, by tiny amounts. A conversation moves the air pressure by a few thousandths of a pascal, against an atmosphere of 101,000 Pa, and the ear handles a range of a million to one in pressure. That huge range is why sound is measured in decibels, and why audio electronics, from microphones to amplifiers, are specified in dB SPL and millivolts per pascal.
:::

::: play
- A small source radiates acoustic power $P$ equally in all directions. The curve is the sound pressure level against distance.
- Each doubling of distance drops the level by 6 dB, the inverse-square law in decibels.
- A loud speaker turns about 1% of its electrical power into sound. At what distance does 1 W of sound fall to a quiet conversation's 60 dB?
:::
:::

```sim plot
view: graph
x: r = 0.5..100 m log
y: L = 40..130 dB
slider: P = -4..1 step 0.1 = 0
slider: r0 = 0.5..100 = 10 m log
plot: 10*log(10^P/(4*pi*r^2)/1e-12) | label: sound level
marker: x = r0 | label: distance
readout: acoustic power, W = 10^P | digits: 3
readout: level at that distance, dB = 10*log(10^P/(4*pi*r0^2)/1e-12) | digits: 3
readout: pressure there, Pa RMS = 20e-6*10^((10*log(10^P/(4*pi*r0^2)/1e-12))/20) | digits: 3
```

::: predict
## One machine makes 80 dB at a certain spot. A second identical machine starts up beside it. What level is measured now?

- [ ] 160 dB
- [ ] 86 dB
- [x] 83 dB
- [ ] 80 dB

::: reveal
83 dB. Two unrelated sources add their powers, not their pressures, so the intensity doubles, and doubling intensity is $10\log_{10}2 = 3$ dB. Ten such machines would give 90 dB. Decibels of separate sources never simply add.
:::
:::

::: nameit
## Pressure waves

Sound is a longitudinal wave: the air moves back and forth along the direction of travel, with a pressure variation $p$ riding on the steady atmospheric pressure. Its speed depends on the medium:

| Medium | Speed of sound |
|---|---|
| air at 20 °C | 343 m/s, rising about 0.6 m/s per °C |
| water | about 1480 m/s |
| steel | about 5900 m/s |

Audible frequencies run from about 20 Hz to 20 kHz, wavelengths from 17 m to 1.7 cm in air.

## Intensity and level

A plane sound wave's intensity is $I = \frac{p_\text{rms}^2}{\rho v}$, where $\rho v$ (about 413 Pa·s/m for air) is the medium's **acoustic impedance**. Levels are quoted in decibels against the threshold of hearing:

$$L_p = 20\log_{10}\frac{p_\text{rms}}{20\ \text{µPa}} \qquad L_I = 10\log_{10}\frac{I}{10^{-12}\ \text{W/m}^2}$$

which agree for plane waves in air. Landmarks: 0 dB is the threshold, 60 dB a conversation, 94 dB is 1 Pa (the standard calibration level), 120 dB is painful.

## Spreading and adding

From a small source radiating power $P$, $I = \frac{P}{4\pi r^2}$: every doubling of distance costs 6 dB. Unrelated sources add intensities, so $n$ equal sources raise the level by $10\log_{10}n$.

## Microphones

A microphone turns pressure into voltage. Its **sensitivity**, in mV/Pa (or dBV at 94 dB SPL), gives the output: a 10 mV/Pa microphone puts out 10 mV RMS at 94 dB and 10 µV at 34 dB, so quiet sound needs low-noise preamplifiers (C6).
:::

::: example
## What RMS pressure is 94 dB SPL? And 120 dB?

::: solution
1. **Pressure from the level.**
   $$p = 20\ \text{µPa} \times 10^{L/20}$$
2. **At 94 dB.**
   $$\begin{aligned} p &= 20 \times 10^{-6} \times 10^{4.7} \\ &= 1.0\ \text{Pa} \end{aligned}$$
3. **At 120 dB.**
   $$\begin{aligned} p &= 20 \times 10^{-6} \times 10^{6} \\ &= 20\ \text{Pa} \end{aligned}$$
4. **Compare.** A 26 dB rise is a twentyfold rise in pressure.

**Answer:** 94 dB SPL is 1.0 Pa RMS, and 120 dB is 20 Pa.
:::
:::

::: example
## A small source radiates 1 W of sound. What level does it produce at 1 m and at 10 m?

::: solution
1. **Intensity at 1 m.** The power spreads over a sphere of area $4\pi r^2$:
   $$\begin{aligned} I &= \frac{1}{4\pi} \\ &= 0.080\ \text{W/m}^2 \end{aligned}$$
2. **Level at 1 m.**
   $$\begin{aligned} L &= 10\log_{10}\frac{0.080}{10^{-12}} \\ &= 109\ \text{dB} \end{aligned}$$
3. **At 10 m.** The intensity is a hundredth, 20 dB less: 89 dB.

**Answer:** 109 dB at 1 m and 89 dB at 10 m.
:::
:::

::: example
## A 1 kHz tone reaches you at 60 dB SPL. What are its RMS pressure, its intensity, and how far does the air move?

::: solution
1. **RMS pressure.**
   $$\begin{aligned} p &= 20\ \mu\text{Pa} \times 10^{60/20} \\ &= 0.02\ \text{Pa} \end{aligned}$$
2. **Intensity.**
   $$\begin{aligned} I &= \frac{p^2}{\rho c} \\ &= \frac{0.02^2}{1.2 \times 343} \\ &= 9.7 \times 10^{-7}\ \text{W/m}^2 \end{aligned}$$
   about a microwatt per square meter.
3. **Displacement amplitude.** The peak pressure is $p\sqrt2 = 0.0283$ Pa, so
   $$\begin{aligned} \xi &= \frac{p\sqrt2}{\rho c\,\omega} \\ &= \frac{0.0283}{1.2 \times 343 \times 2\pi \times 1000} \\ &= 1.1 \times 10^{-8}\ \text{m} \end{aligned}$$
4. **How small that is.** That's 11 nm, about a fiftieth of the wavelength of visible light, for a sound as loud as conversation.

**Answer:** the RMS pressure is 0.02 Pa, the intensity is $9.7 \times 10^{-7}$ W/m², and the air moves about 11 nm.
:::
:::

::: check
given: p = 0.02 | 0.2 | 2
answer: 20*log(p/20e-6)
unit: dB
tolerance: 0.5%

## What sound pressure level is an RMS pressure of {p} Pa?

::: right
Right. $20\log_{10}\frac{p}{20\text{ µPa}}$ = {answer}.
:::

::: misses
- [10*log(p/20e-6)] Pressure is an amplitude: use $20\log_{10}$.
- [any] Not yet. Compare with 20 µPa.
:::
:::

::: check
given: L = 60 | 94 | 110
answer: 20e-6*10^(L/20)
unit: Pa
tolerance: 0.5%

## What RMS pressure does {L} dB SPL mean?

::: right
Right. $20\text{ µPa} \times 10^{L/20}$ = {answer}.
:::

::: misses
- [20e-6*10^(L/10)] Pressure uses $L/20$.
- [any] Not yet. Invert the decibel formula.
:::
:::

::: check
given: r1 = 1 | 2; r2 = 8 | 20
answer: 20*log(r2/r1)
unit: dB
tolerance: 0.5%

## How much quieter is a small source at {r2} m than at {r1} m?

::: right
Right. $20\log_{10}\frac{r_2}{r_1}$ = {answer}.
:::

::: misses
- [10*log(r2/r1)] Intensity falls as $1/r^2$: that's $20\log_{10}$ of the distance ratio.
- [any] Not yet. Inverse square in decibels.
:::
:::

::: check
given: L = 70 | 85; n = 2 | 4 | 10
answer: L + 10*log(n)
unit: dB
tolerance: 0.5%

## {n} identical machines each make {L} dB at some spot. What do they make together?

::: right
Right. Intensities add: $L + 10\log_{10}n$ = {answer}.
:::

::: misses
- [n*L] Decibels don't add; intensities do.
- [L + 20*log(n)] Unrelated sources add in power: $10\log_{10}n$.
- [any] Not yet. Add intensities, then convert.
:::
:::

::: check
given: f = 50 | 1000 | 10000; T = 0 | 10 | 35
answer: (331 + 0.6*T)/f*100
unit: cm
tolerance: 0.5%

## What is the wavelength of a {f} Hz tone in air at {T} °C?

::: right
Right. $\frac{331 + 0.6T}{f}$ = {answer}.
:::

::: misses
- [343/f*100] Correct the speed for the temperature.
- [any] Not yet. Find the speed, then $\lambda = v/f$.
:::
:::

::: check
given: s = 5 | 10 | 20; L = 74 | 84 | 114
answer: s*10^((L - 94)/20)
unit: mV
tolerance: 0.5%

## A microphone's sensitivity is {s} mV/Pa. What RMS voltage does it give at {L} dB SPL?

::: right
Right. The pressure is $10^{(L - 94)/20}$ Pa, times {s} mV/Pa: {answer}.
:::

::: misses
- [s*10^((L - 94)/10)] Pressure follows $L/20$.
- [any] Not yet. Find the pressure from the level, then multiply.
:::
:::

::: check
kind: parts
given: L = 40 | 70 | 90; f = 100 | 1000

## A {f} Hz tone reaches you at {L} dB SPL (air: ρc = 1.2 × 343 kg/m²·s).

::: part
answer: 20e-6*10^(L/20)
unit: Pa
tolerance: 0.5%

### What is its RMS pressure?

::: misses
- [20e-6*10^(L/10)] Sound pressure level uses 20 log: pressure goes as the square root of intensity.
- [any] $p = 20\ \mu\text{Pa} \times 10^{L/20}$.
:::
:::

::: part
answer: (20e-6*10^(L/20))*sqrt(2)/(1.2*343*2*pi*f)*1e9
unit: nm
tolerance: 0.5%

### How far does the air move, peak to center?

::: misses
- [any] $\xi = \frac{p\sqrt2}{\rho c\,\omega}$.
:::
:::
:::

::: check
kind: derivation
vars: p = 0.001..10, r = 1..1.3, c = 300..360

## A sound wave with RMS pressure p in air of density ρ (write r) and sound speed c.

::: step
answer: p^2/(r*c)

### What is its intensity?
:::

::: step
answer: 20*log(p/0.00002)

### What is its sound pressure level in dB?
:::

::: right
Right. Intensity goes as $p^2$, so its level is $10\log$ of the intensity ratio, or $20\log$ of the pressure ratio.
:::
:::

::: explain
## Why do two equal noise sources add only 3 dB, while two equal tones in step can add 6 dB?

::: model
Unrelated sources, like two machines, have pressures whose phases drift randomly against each other, so over time their cross terms average to zero and their intensities simply add: double the intensity is 3 dB. Two tones from the same signal, perfectly in step, add their pressures instead: double the pressure is four times the intensity, 6 dB, at the spots where they arrive in phase. Where they arrive out of phase they cancel. That's interference (lesson 7), and it's why speaker placement matters.
:::
:::

::: practice

::: check
given: I = 1e-6 | 1e-3 | 1
answer: 10*log(I/1e-12)
unit: dB
tolerance: 0.5%

## What level is an intensity of {I} W/m²?

::: misses
- [any] $10\log_{10}(I/10^{-12})$.
:::
:::

::: check
given: d = 100 | 340 | 1000
answer: d/343
unit: s
tolerance: 0.5%

## How long does sound take to travel {d} m in air?

::: misses
- [any] Distance over 343 m/s.
:::
:::

::: check
given: k = 2 | 3 | 4 | 5 | 10 | 100
answer: 10*log(k)
unit: dB
tolerance: 0.5%

## A source's acoustic power is multiplied by {k}. By how many dB does its level rise?

::: misses
- [20*log(k)] Power ratios use $10\log_{10}$.
- [any] $10\log_{10}k$.
:::
:::
:::
