Echoes of Science ▶ YouTube
Learn the science · Physics

Spectrogram

A picture of sound: time runs across, pitch runs up, and the brightness shows how strong each pitch is at each moment.

A spectrogram turns a sound into a picture. Time runs from left to right, pitch (frequency, in hertz) runs from bottom to top, and the brightness or colour of each point shows how strong that pitch is at that moment.

It is made by cutting a recording into short slices and working out, for each slice, how much energy there is at each frequency (a Fourier analysis). Lining the slices up side by side gives the picture.

An everyday example: bird song apps show spectrograms, where each chirp is a little curve. Whale scientists read them the same way: a blue whale's call is a long, low moan roughly between 10 and 40 Hz, a fin whale's is a short pulse near 20 Hz, and the famous 52-hertz whale shows up as a bright line far above both.

A common misconception is that a spectrogram is the same as a waveform. A waveform shows how loud the sound is over time; a spectrogram also shows which pitches make up that sound.

See it in action

Sources