To export a useful spectrogram image, choose the time range, frequency bounds and channel, then save the graph with readable axes and a color legend. A PNG works well for text and sharp lines when the viewer offers it. Add a short caption with the settings needed to understand or reproduce what the image shows.
Set the Region Before Exporting
Open the audio in the spectrogram viewer for image export and find the feature you want to show. Pause a live view or select a file excerpt. Leave enough space around the feature to show its start, duration and end. Widen the time span if a nearby pause or reference tone matters to the comparison.
Next choose the frequency range and scale. A low hum may need a tight crop around the bottom of the spectrum. A broadband click may need a wider frequency range and a shorter section of time. See linear versus logarithmic frequency scales if the same pattern looks different after changing the graph.
Keep Essential Labels in the Image or Caption
| Export detail | What to include |
|---|---|
| Time | Visible units, range and original offset for any excerpt |
| Frequency | Hz or kHz labels, frequency bounds and linear or log scale |
| Color | Palette and displayed floor, ceiling and reference where available |
| Signal | Source or neutral file label and channel |
| Analysis | Sample rate, window length, FFT length and hop when available |
| Comparison | Shared settings and each image’s distinct input or condition |
Some exports include the drawing alone. If the axes or legend are separate, capture them with the plot or put the missing information in the caption. Check the saved file after downloading it, since a display can look fine in the browser while its export has smaller labels or a different crop.
Choose an Image Size Readers Can Use
A PNG preserves hard edges without JPEG-style compression artifacts. Choose a size that keeps the tick labels and legend readable in the expected destination. Review it at the width your readers will see. If the plot becomes unreadable at small sizes, zoom into the band or show a second close-up.
Increasing the export dimensions can improve readability. The number of audio samples in the measurement and the analysis grid still determine its spectral detail. The FFT size and resolution guide explains why extra display pixels leave nearby frequency components just as hard to distinguish when the underlying window is unchanged.
Save a Full Figure and a Detail View
Keep an overview when the signal spans several events. If your example is a brief upright streak among long horizontal bands, export a second image cropped around the streak. Use coordinates to show how the inset relates to the overview. Avoid stretching one view horizontally or vertically if a slope or duration is part of the comparison.
Describe a Worked Export
Imagine a left-channel excerpt begins at 12.0 seconds in the original file. The graph shows local time from 0 to 2 seconds and a band near 120 Hz from local 0.5 to 1.5 seconds. The band appears from 12.5 to 13.5 seconds in the original. Keep the two time origins clear in the caption.
A suitable caption might read “Left channel, 12.0–14.0 s of the original file. The region near 120 Hz persists from 12.5 to 13.5 s. Linear frequency from 0 to 500 Hz, relative color range from −80 to −20 dB.” Add the analysis window and sample rate if the viewer shows them.
Keep A/B Images Comparable
Use matching time, frequency scale, upper and lower limits, palette and color range when you compare two versions. If each has automatic contrast, equal colors can represent different levels. The guide to spectrogram colors and display levels shows how to keep the scale fixed during a comparison.
Save the same region from both versions whenever possible. If one export uses a different channel or sample rate, identify it. A short text description of the time, band and pattern makes the result interpretable without distinguishing a color or opening a large image.
Give the Image a Text Description
Write alt text about the specific feature a reader needs to notice. For example, “A thin band near 120 Hz crosses the middle second of the left-channel view.” Keep settings and comparison details in the visible caption. This gives the image a useful description without depending on a particular color.
Frequently Asked Questions
Can I use a screenshot instead of a spectrogram PNG export?
You can use a screenshot when it preserves the plot, axes and legend at readable size. Crop unrelated controls if needed. Keep the units and time origin with the resulting image.
Why does my exported spectrogram look darker than the live view?
The export may use different color limits, transparency or background. Check its legend and compare at the same scale. Also verify that it saved the intended time and frequency range.
Can I reconstruct the original audio from the exported image?
A typical PNG stores colors at display pixels and leaves out information needed to reconstruct the original faithfully. Keep the audio or numerical data when you need to measure or replay the source later.