Skip to content
FastTool

Audio Spectrogram & Lossless Checker

Check WAV, FLAC or MP3 files for 16 kHz transcode cutoffs, read pitches and harmonics, and save an annotated spectrogram PNG.

Runs in your browser. Nothing is uploaded.

Audio & display settings

Built-in 44.1 kHz test signals

Lossless & header check

genuine-44k1-lossless-master.wav (built-in test signal)

Effective upper frequency (Stereo Mid (L+R)/2)

Looks good

22.05kHz

Looks good — High-frequency content extends to 22.05 kHz with no brickwall cutoff shelf.

  • 22.05kHz −60 dBFS ceiling
  • 7.3dB/kHz Steepest roll-off
  • 44,100Hz Native sample rate
  • 16-bitPCM Container format

Stereo Mid vs Side check

Stereo Side (L−R) extends to 22.05 kHz with no separate joint-stereo cutoff.

Binary container header

Container
WAV · Linear PCM
Native rate
44,100 Hz (Nyquist 22.05 kHz)
Bit depth
16-bit
Channels
Stereo (2 ch)
Bitrate
1,411 kbps
Length
4.00 s (176,400 samples · 689 KB)

Spectrogram & pitch cursor

0.00 s – 4.00 s · Stereo Mid (L+R)/2 · 2048 pt Blackman-Harris · Linear 0 – 22.05 kHz

Time 1.000 s
Frequency 880.0 Hz
Level −32.0 dBFS
Nearest 12-TET pitch (A4 = 440 Hz) A5 · 880.0 Hz · 0 ct
Drag across the spectrogram to zoom into drum transients or overtones. Hover, tap or use the arrow keys to read exact time, frequency, dBFS level and musical pitch.
Show upper-frequency energy table (8 kHz to Nyquist)
95th-percentile active-frame level across upper frequency bands
Frequency band 95th-pct level 0.5 kHz change Band note
8.06 kHz−40.2 dBFS−0.4 dBActive band energy
12.06 kHz−41.5 dBFS−0.3 dBActive band energy
16.06 kHz−42.1 dBFS−0.2 dBActive band energy
20.06 kHz−43.0 dBFS−0.3 dBActive band energy
21.94 kHz−43.6 dBFS–Active band energy

How to use

  1. The page opens with a 44.1 kHz lossless example already plotted. Drop your own WAV, FLAC, MP3, M4A, Ogg or AIFF file into the box above.
  2. Read the lossless check on the right to see the native sample rate, −60 dBFS ceiling and steepest roll-off slope.
  3. Switch Channel to Stereo Side (L−R)/2 to catch joint-stereo MP3 encoders that shave stereo highs near 15 to 16 kHz.
  4. Drag across the spectrogram to zoom into drum hits, or hover to read exact time, frequency, dBFS level and 12-TET pitch.
  5. Click Play audio to hear the zoomed window, or click Save Spek PNG to download an annotated report image.

Worked example

Input

Two 4.0-second stereo WAV files at 44,100 Hz and 16-bit PCM: both report 1,411 kbps and take 689 KB on disk.

Genuine master

High-frequency drum shimmer reaches 22.05 kHz Nyquist with a gentle 7.3 dB/kHz taper and no horizontal shelf.

128 kbps transcode

Energy plunges 45 dB within 0.5 kHz right above 16.0 kHz, leaving 16.0 to 22.05 kHz empty.

Re-saving a lossy MP3 or stream rip as WAV or FLAC copies its missing treble into a larger uncompressed container. File size and bit depth look identical, yet the spectrogram reveals the razor-flat 16.0 kHz low-pass shelf right away.

Click the third built-in example to inspect a subtler encoder trick. Stereo Mid reaches 19.9 kHz, while Stereo Side (L−R) cuts off sharply near 15.5 kHz.

For encoder cutoff tables and three common false alarms, read How to tell if a FLAC or WAV file is really lossless using a spectrogram. Need loudness or trimming too? Check playback gain in the LUFS Loudness Meter or trim quiet tails in the Audio Cutter.

How it works

Native binary header inspection without silent upsampling

Before Web Audio decodes anything, a binary header reader inspects RIFF/WAVE chunks, FLAC STREAMINFO metadata, MPEG frame headers, Ogg pages and MP4 boxes. Uncompressed 8, 16, 24 and 32-bit WAV files decode directly in JavaScript without browser resampling. Compressed FLAC, MP3, AAC and Ogg files pass their native sample rate to AudioContext so 44.1 kHz audio never upsamples to 48 kHz.

Coherent-gain Short-Time Fourier Transform

The spectrogram runs an in-place radix-2 Cooley-Tukey FFT with periodic Hann or 4-term Blackman-Harris windows. Dividing single-sided bin magnitudes by the window sum keeps a full-scale 0 dBFS sine tone at 0.0 dBFS:

L(m, k) = 20 · log₁₀( 2 · |Σ x[n + mH] · w[n] · e^(−j2πkn/N)| / Σ w[n] )

Separating brickwall shelves from acoustic roll-off

To avoid mistaking quiet instruments for lossy transcodes, the analyzer measures the 95th-percentile active-frame level across 125 Hz bands above 8 kHz. A drop of 25 dB or more within 0.5 kHz into a quiet stopband marks a low-pass cutoff; gentler slopes mark natural roll-off.

Header parsing follows IETF RFC 9639 for FLAC STREAMINFO (checked 29 November 2026). Encoder shelf ranges and sample-rate behavior follow LAME MP3 documentation and MDN AudioContext documentation (checked 29 November 2026).

FAQ

Does converting an MP3 to WAV or FLAC improve sound quality?

No. Lossy encoders discard masked tones and frequencies above their low-pass shelf permanently. Saving that decoded audio as WAV or FLAC only stores the surviving waveform in a larger file.

Why does a real acoustic recording sometimes fade out around 15 to 17 kHz?

Solo piano, warm jazz guitar, muted brass and older analog tape fade gradually without a horizontal cliff. Look at loud drum, cymbal or vocal sibilant hits: natural recordings taper softly, whereas lossy transcodes stop at a flat ceiling.

Why do some browser spectrograms show an empty band between 22.05 kHz and 24 kHz?

On 48 kHz sound hardware, calling Web Audio decodeAudioData at the default rate resamples 44.1 kHz tracks to 48 kHz. This tool reads the container header first and locks decoding to the native sample rate so Nyquist stays true.

Which FFT size and frequency scale work best?

Keep Linear scale and 2048 or 4096 points to inspect 16 to 22 kHz encoder shelves clearly. Switch to Logarithmic scale and 4096 or 8192 points when reading bass fundamentals, overtones and musical notes.

Updated