The same sound, two ways of looking.
A sound can be drawn as a picture that shows which pitches are present at each moment. There are two common ways to draw that picture, and the places where they disagree are the interesting part.
Sound is a signal like any other on this site. A microphone measures the pressure of the air tens of thousands of times a second and turns it into a row of numbers. A pure tone, such as a whistle, makes those numbers rise and fall in a regular rhythm, and the faster the rhythm, the higher the pitch we hear. Pitch is the frequency of chapter 8, counted in hertz, which is the number of rises and falls in one second. The A that an orchestra tunes to is 440 hertz.
The older way of drawing the picture is named after Joseph Fourier, the French mathematician of chapter 8, who showed two centuries ago that any signal can be built by adding pure tones together. To find out which tones a sound contains, the method cuts the recording into short slices, all the same length, and measures the tones in each slice. The length of the slice forces a choice. A long slice measures pitch precisely, but it cannot say when, within the slice, a sound occurred. A short slice pins down the timing and measures pitch only roughly. Whichever length is chosen applies to every pitch, high and low alike.
The wavelet way makes that choice separately for each pitch. For low pitches it uses a long wavelet, which is needed to measure a slow vibration at all. For high pitches it uses a short one, which is enough to measure a fast vibration and keeps the timing sharp.
Below, the left chart uses fixed slices a little under a tenth of a second long, and the right chart uses wavelets. Both charts scroll: new sound enters at the right edge and slides to the left. Pitch runs from low at the bottom to high at the top, and the numbers up the side are in hertz, with k standing for a thousand.
Open the microphone and try a steady whistle, then a finger snap. If you would rather not use the microphone, press one of the test sounds and the page will play it through both charts.
fixed slices
wavelets
What to look for
Start with the ticking clock. In the wavelet chart every tick is a thin bright stroke from the bottom of the picture to the top, drawn at the instant it happened. In the fixed-slice chart the same tick is a dimmer and wider streak. The method cannot say where, within its tenth-of-a-second slice, the tick fell, so it spreads the tick across the whole slice. It does show one thing the wavelets miss, which is a small bright dot at the pitch the tick rings at.
Now play the three notes. This time the fixed slices do better. Each note is a crisp, thin line, because a long slice measures pitch precisely. The wavelets draw the same notes as broad bands. Their short measurements, which made the ticks so sharp, cannot pin a pitch down as finely.
Both pictures are honest, and each makes a different trade between knowing when something happened and knowing what pitch it had. Every method has to give up some of one to gain some of the other. A photographer meets the same trade with a passing car. A fast shutter freezes the car, which shows exactly where it was and nothing about how fast it was going. A slow shutter draws the car as a streak. The length of the streak gives its speed, and its exact position is lost in the blur. That limit is a fact of mathematics, and it stays in place however good the instrument is. A sound that lasts a hundredth of a second has a pitch that is only defined to within about a hundred hertz.
What wavelets offer is a sensible way to spend the trade. They give sharp timing at the high pitches, where sounds tend to be quick, and finer pitch at the low ones, where sounds tend to be slow. That suits speech, music and most of the sounds in nature, and the ear itself makes a similar trade.