happytails.ai
English

Audio spectrogram viewer

See how the frequencies in a recording change over time and download a labelled spectrogram image of the whole file or a selected range.

No files selected

Accepted files: .wav,.mp3,.m4a,.aac,.flac,.ogg,.oga,.opus,.webm,audio/*. Choose one file. Up to 256 MiB in total.

Your result

How to use Audio spectrogram viewer
  1. Choose one audio file from your device.
  2. Set the start and end time if you only want part of the recording.
  3. Pick the FFT size, window, frequency scale, level range and image size.
  4. Create the spectrogram and download the PNG and the JSON report of the settings.

Report a problem or share an idea.

Useful next steps

How the image is made

The selected range is split into one analysis frame per pixel column. Each frame is windowed (Hann by default) and passed through a fast Fourier transform, and the magnitude in each frequency row is drawn in the viridis colour map from your lowest to your highest level. A full-scale sine wave reads 0 dB. Channels are averaged into one signal first.

Choosing the settings

A larger FFT size separates close frequencies better but blurs fast changes in time; a smaller one does the opposite. The JSON report states the frequency resolution (sample rate divided by FFT size) and the time step between columns. The log scale spreads low frequencies out, from 20 Hz up to half the sample rate; the linear scale runs from 0 Hz.

Limits of the result

The image shows level, not loudness as people hear it. Frequencies above half the sample rate cannot appear, and a file the browser decoded and resampled can show small differences from its original.