A spectrogram turns sound into a picture that shows which pitches are present at every moment and how strong each one is.1Wikipedia. Spectrogram A plain waveform shows only how loud a sound is over time, while a spectrogram separates that sound into its individual pitches.1Wikipedia. Spectrogram That lets you see things your ears blend together, such as each note of a chord, the shape of a vowel, or a bird’s trill. Audio editors, voice clinics, wildlife researchers and speech-recognition software all rely on the same kind of picture.
How to Read a Spectrogram
In most audio apps the horizontal axis is time, just as in the ordinary waveform view.2iZotope. Spectrograms explained: what they show and how to use them The vertical axis is frequency, measured in Hertz (Hz), the number of vibrations per second, which you hear as pitch.2iZotope. Spectrograms explained: what they show and how to use them Low sounds such as a bass drum sit near the bottom, and high sounds such as cymbals or whistles sit near the top. Some engineering tools flip this, with frequency across the bottom and time running down the side.3Tek.com. What is a Spectrogram? A Guide to Types, Analysis, and Applications
Brightness or color carries the third piece of information: the strength of each pitch at each moment.1Wikipedia. Spectrogram A bright band means a strong sound at that pitch, and dark areas mean little or no sound there. Many tools let you change the color scheme, and the colors can mislead. Some schemes make gradual changes look like flat bands or sharp edges that aren’t really in the sound.4MyCarta. perceptual colormaps – MyCarta If an edge looks suspiciously sharp, switch to a grayscale or evenly shaded scheme and see whether it stays.
Everyday sounds have recognizable shapes. A steady whistle or hum is a thin horizontal line at one height. A clap or door slam is a thin vertical streak covering many pitches at once. Background hiss or wind looks like a faint, even haze across the picture. A rising siren or a birdsong slide draws a line curving upward or downward.
Voices and music have their own look. A sung or spoken vowel appears as a stack of evenly spaced horizontal stripes, and the brightest stripes show which pitches carry most of the energy. The vowels “ee” and “ah” have the same stripe spacing at the same pitch but different bright regions, which is how the picture shows a vowel’s shape. A musical chord appears as several separate stacked lines at once, one per note, plus fainter stripes above each that give the instrument its tone.
To read a new spectrogram, start by playing a short sound you know, such as a clap or your own voice, while watching the picture, so you can match what you hear to what you see. Then look at the overall pattern before any detail, since lines, streaks, hazes and blobs each mean a different kind of sound. Finally, ask three questions in turn: when does it happen, how high is it, and how bright is it?
How Sound Becomes a Spectrogram
The software divides a long recording into many short pieces of equal length.5Wikipedia. Short-time Fourier transform For each piece it calculates how much of each pitch is present, using a standard math tool called the Fourier transform.5Wikipedia. Short-time Fourier transform These pitch readings are then drawn one after another along the time axis, like slices of bread lined up in a loaf.3Tek.com. What is a Spectrogram? A Guide to Types, Analysis, and Applications The spectrogram shows the strength of each pitch in each slice, squared.6MathWorks Documentation. spectrogram
The Fourier transform rests on the idea that any sound can be described as a mix of simple pure tones at different pitches. The transform works out how much of each pure tone is in a short stretch of sound.
Inside each slice, the transform produces a list of strengths, one per pitch bin, spaced evenly from low to high. Each list becomes one column of colored pixels, and the next slice supplies the next column.
Chopping sound abruptly at a slice’s edges creates sudden jumps, and the math reads those jumps as extra pitches that aren’t really there.7PubMed Central. Adaptive Flight Maneuver Boundary Localization via Spectral Entropy-Weighted Multi-Channel Spectrogram Fusion Energy from a real sound smears into nearby pitches and blurs the picture.7PubMed Central. Adaptive Flight Maneuver Boundary Localization via Spectral Entropy-Weighted Multi-Channel Spectrogram Fusion So software fades each slice in and out at its edges, which greatly reduces the smearing.7PubMed Central. Adaptive Flight Maneuver Boundary Localization via Spectral Entropy-Weighted Multi-Channel Spectrogram Fusion A common fade shape, the Hann window, suppresses false high pitches far better than cutting with no fade.7PubMed Central. Adaptive Flight Maneuver Boundary Localization via Spectral Entropy-Weighted Multi-Channel Spectrogram Fusion
Slices also overlap. Each one starts a little after the previous one, not after it ends, so neighbors share much of the same sound. That matters because the fade turns down the sound at each slice’s edges, and an event landing there would otherwise be dimmed or missed. Overlap also makes the picture look smooth instead of blocky, since each new strip differs only slightly from the last.
Many editors let you choose a window type such as Hann or Hamming in the spectrogram settings. They also let you pick the slice length, often shown as an FFT size like 1024 or 4096. Leaving the default Hann window is a sensible choice for most listening and editing.
A bigger FFT size means each slice holds more samples of the recording, so it covers a longer stretch of time. It also gives more pitch bins per slice, so pitches are drawn finer, but the picture has fewer strips per second of sound.
Why You Can’t Get Sharp Time and Sharp Pitch Together
A short slice shows sudden events like drum hits sharply in time but spreads out their pitch.8arXiv. Universal Short-Time Fourier Transform: Data-Adaptive Window-Length Selection for Time-Frequency Analysis A long slice separates pitches that are close together but smears when they happen.8arXiv. Universal Short-Time Fourier Transform: Data-Adaptive Window-Length Selection for Time-Frequency Analysis This limit is built into the math itself.9SoftwareX. OptFROG — Analytic signal spectrograms with optimized time–frequency resolution
A drum hit and a held note show the trade-off clearly. With a long slice, the drum hit looks like a smeared blob stretched sideways, so you can’t tell exactly when it began. With a short slice it becomes a tight vertical streak that pins down the moment but covers a tall range of pitches. The held note does the opposite: a long slice draws a thin crisp line, while a short slice thickens it into a wide band that makes the exact pitch hard to read.
Voice analysis shows this in practice. A long-slice view, called narrowband, shows a voice’s main pitch and its harmonics, the evenly spaced stripes above it.10PhonaLab. How to Read a Spectrogram: Wideband vs Narrowband Voice Analysis Voice specialists use narrowband views to spot problems: noise between the stripes suggests a breathy voice, and wavy stripes suggest an unsteady one.10PhonaLab. How to Read a Spectrogram: Wideband vs Narrowband Voice Analysis A short-slice view, called wideband, shows each vocal pulse and the timing of speech sounds more clearly.
So for drums, clicks or speech timing, use a shorter slice or smaller FFT size. For singing, sustained notes or tuning, use a longer slice or larger FFT size.
Some software offers a “reassigned” spectrogram that moves energy to where it is really centered. That tightens lines and reduces fuzzy spread around real sounds. It helps most with clean tones and is less useful on noisy recordings.
Why Many Spectrograms Stretch the Low Pitches
Ears hear pitch in ratios, not equal steps. The jump from 100 Hz to 200 Hz sounds about as big as the jump from 1,000 Hz to 2,000 Hz.11AI Engineering from Scratch. Spectrograms, Mel Scale & Audio Features On an evenly spaced axis, the pitches where most music and speech happen get squeezed into a thin strip at the bottom. A hearing-shaped pitch axis, such as the mel scale, stretches the axis to match how we hear.11AI Engineering from Scratch. Spectrograms, Mel Scale & Audio Features Audio apps often offer this as a “log” or “mel” frequency option.
A linear axis spaces every 1,000 Hz equally and gives most of the screen to high pitches. A hearing-shaped axis makes each octave roughly the same height, like a piano keyboard. Use the hearing-shaped view for music and speech, and the linear one for technical high-pitch noise.
Stretching the low end spreads out the range where voices, bass and most instruments live, so details there become easier to see. The high end gets compressed, so cymbals and hiss take up less room but are still shown. The evenly spaced stripes above a voice’s main pitch look bunched at the top and more spread at the bottom, which can look odd at first compared with a linear view.
What Spectrograms Are Used For
Wildlife researchers read animal calls as pictures. Measurements taken from spectrogram-style pictures can even tell individual gibbons apart by their calls.12Ecological Informatics. Mel-frequency cepstral coefficients outperform embeddings from pre-trained convolutional neural networks under noisy conditions for discrimination tasks of individual gibbons That works only on clear recordings made fairly close, and fails at greater distances where noise drowns the call.12Ecological Informatics. Mel-frequency cepstral coefficients outperform embeddings from pre-trained convolutional neural networks under noisy conditions for discrimination tasks of individual gibbons
Bird-identification apps display the call as a scrolling spectrogram while you record, so you can see its shape while you hear it. A trill appears as a fast repeating series of marks and a whistle as a smooth curve, and these shapes are part of what distinguishes species. The app’s software compares the picture of your recording with those of known calls to suggest a match. A clear recording gives more reliable suggestions than one swamped by wind or traffic, so getting closer helps.
Computers recognize sounds this way too. The same kind of AI that recognizes objects in photos can recognize sounds by reading their spectrograms as images.13arXiv. Spectral and Rhythm Features for Audio Classification with Deep Convolutional Neural Networks Spectrograms on a hearing-shaped mel axis work notably better for this than several other sound pictures.13arXiv. Spectral and Rhythm Features for Audio Classification with Deep Convolutional Neural Networks
Speech-to-text works along these lines. Your speech is split into short slices and turned into a mel spectrogram, a picture much like the ones described here. A trained neural network reads it and predicts which sounds and words it contains. The picture is useful because it keeps the pitch patterns that separate one speech sound from another and drops detail humans can’t hear. Accuracy falls with heavy background noise, because noise fills in the dark areas the network relies on.
In audio editing, a cough, phone ring or click shows up as a distinct shape. To remove a cough, you draw a box or brush around its blotch and tell the editor to reduce or erase just that area. Because the voice sits at different pitches or moments than the cough, the voice is mostly left intact. A steady hum, which shows as a horizontal line, can often be cut out with little effect on the voice.
The repair works best on short, distinct sounds and is much harder when the unwanted sound overlaps the voice at the same pitches and moments. Zooming in before selecting helps, since a tight selection removes less of the wanted sound.
Hidden Pictures in Sound
Because loudness at each pitch and moment becomes a pixel, a sound can be designed so its spectrogram spells words or draws pictures. Spectrogram drawings have been used to send readable text messages hidden inside sound in chat services, with no special decoder needed.14Proceedings of the 6th International Conference on Digital Signal Processing. Some Evaluations on Spectrogram Art Communications Exchanging Secret Visual Messages New AI methods can even create spectrograms that look like natural images and also sound like natural audio at the same time.15arXiv. Images that Sound: Composing Images and Sounds on a Single Canvas
To make one, the picture is treated as a grid in which each row is a pitch and each column is a moment, and bright pixels mean loud sound at that pitch and moment. Software creates a tone for each row, with loudness following the brightness of the pixels along it, and adds the tones together. The result is a sound whose spectrogram looks like the original picture. Simple, high-contrast images like text or line drawings work better than detailed photos.
Such drawings put energy wherever the picture is bright, not where a natural sound would have it, so the audio often sounds like buzzing, whistling or hiss. That is why the effect usually appears as an Easter egg in a song’s quiet ending or in a short burst of noise. The special AI methods are different because they aim to make the sound natural-seeming and the picture recognizable at once, a harder balance.
To find a hidden image yourself, open the audio file in a free editor with a spectrogram view, switch to spectrogram mode, and look for shapes, letters or faces. Try a linear pitch axis, since many hidden images are drawn that way.
If the picture seems stretched, squashed or unreadable, adjust the slice length or the frequency range shown, as a mismatch can distort it. A compressed file such as an MP3 may lose some very high or faint details, so faint parts of an image can vanish. If you find nothing, the file may simply contain no image, since most songs show only ordinary musical patterns.

