Audio spectrum analyzer (live FFT)
A spectrum analyzer splits sound into its frequencies so you can see hums, whines and resonances instead of guessing. This one runs a live FFT on your microphone signal and labels the strongest frequency.
Dominant frequency: —
Audio is processed locally in your browser. Nothing is recorded or uploaded.
How to use the spectrum analyzer
Press Start analyzer and allow the microphone. Bars run from 20 Hz on the left to 20 kHz on the right on a logarithmic axis, which matches how we hear pitch: each octave gets the same width.
The dominant frequency readout finds the tallest bin and refines it with parabolic interpolation, so a steady tone reads to within a few hertz. Peak hold keeps a faint trace of the highest level each band reached; press Reset to clear it.
Use the FFT size control to trade speed for detail. 8192 points at 48 kHz gives 5.9 Hz bins (good for finding a 60 Hz hum and its 120/180 Hz harmonics); 2048 reacts faster for music. The A-weighting toggle tilts the display the way the main sound meter hears it.
Levels on the vertical axis are relative dB (digital full scale), not calibrated sound pressure. Phone microphones roll off below about 100 Hz and can have bumps above 10 kHz, so treat the extremes with caution.
Examples
- Refrigerator or transformer hum: peaks near 60 Hz and 120 Hz in North America (mains frequency and its harmonic).
- Whistling: a single sharp peak somewhere between 1 and 3 kHz.
- Pink noise from the noise generator: a flat-looking spectrum on this log display.
- A 1 kHz test tone: one peak labeled about 1000 Hz.
FAQ
What does FFT mean?
Fast Fourier Transform, an algorithm that converts a short block of samples into the strength of each frequency. The analyzer runs it about 60 times a second.
Why is the dominant frequency jumping around?
Speech and music change constantly and the loudest band moves with them. Hold a steady tone or hum near the microphone for a stable readout.
Can I find the resonant frequency of a room with this?
Roughly. Play a slow sine sweep from the tone generator and watch for bands that jump up; those are room modes. Professional room measurement uses swept sines and impulse responses.
Is anything recorded?
No. The analyzer reads a short buffer from the microphone, draws it and discards it. Nothing is stored or uploaded.
Sources
Related tools
- GeneratorTone generator
Play sine, square, triangle or sawtooth tones with a safe volume limiter.
- MusicChromatic tuner
Detects any note from your mic and shows cents sharp or flat versus A4 = 440 Hz.
- GeneratorWhite, pink & brown noise
Steady masking noise for sleep or focus, with a fade-out timer.
- CalculatordB SPL ↔ pascal converter
Convert decibels to sound pressure (Pa) and intensity (W/m²) and back.
- MeterLive sound meter
Real-time dB(A) with min, Leq, max and CSV export.