Audio spectrogram viewer
Visualize every frequency across time with a browser-local STFT spectrogram. Verify whether a FLAC or WAV is truly lossless, locate 50/60 Hz mains hum or hiss, compare FFT resolutions, and download a labeled PNG chart.
How it works
- 01
Open an audio file
Drop in any FLAC, WAV, MP3, M4A, or OGG file to compute its STFT locally.
- 02
Pick scale, color map & FFT
Use Linear to check lossless cutoffs, Log + 4096 FFT to pinpoint hum, and choose Inferno, Viridis, or Grayscale.
- 03
Save the PNG
Download the labeled spectrogram image for documentation or sharing.
STFT analysis, scales & diagnostic controls
- Whole-file Short-Time Fourier Transform (STFT) spectrogram rendered locally with frequency and time axes.
- Switch between Logarithmic scale (matching human pitch perception) and Linear scale (0 Hz to Nyquist, ideal for spotting MP3 cutoffs).
- Three perceptual color maps: Inferno, Viridis, and Grayscale.
- Three FFT window sizes (1024, 2048, and 4096) to trade sharper timing against finer frequency resolution.
- One-click PNG export with labeled kHz and timestamp axes for QA notes or bug reports.
Reading fake lossless shelves, mains hum, and FFT size
Switch to the Linear frequency scale when checking lossless integrity. Genuine CD-quality FLAC or WAV files (44.1 kHz) show cymbals and overtones reaching naturally toward 20–22 kHz. A transcoded 128 kbps MP3 shows a razor-flat black ceiling around 16 kHz (and 192–320 kbps files typically shelf between 18 and 20 kHz). Pair this view with audio file info to confirm header bit depth and sample rate.
For noise troubleshooting, switch to Logarithmic scale and increase FFT size to 4096: AC mains hum stands out as crisp thin horizontal lines at 50 or 60 Hz plus harmonics (100/120/150 Hz), while mic preamp hiss appears as a soft fog across all high frequencies. Once you spot the exact frequency, notch it out in the audio equalizer or check whether upsampling happened via the sample rate converter.
Frequently asked questions
Does a 16 kHz cutoff always prove a FLAC file is fake lossless?
Not in every single case — dark vintage tape transfers, solo acoustic guitars, or lo-fi masters naturally have little energy above 16 kHz. What reveals a lossy MP3 transcode is a ruler-straight horizontal cliff across bright cymbal hits and transients for the entire track.
When should I choose 1024 vs 4096 for FFT window size?
Use 1024 when you want crisp vertical lines for short percussive clicks and drum transients. Switch to 4096 when you need narrow horizontal resolution to separate close low-frequency tones, harmonics, or 50/60 Hz electrical hum.
Can I remove the hum or hiss I find on the spectrogram?
The viewer is diagnostic only. For steady broadband hiss or room noise, run the file through noise reduction; for targeted hum or harsh whistling bands, attenuate those specific frequencies in the audio equalizer.