What is an audio spectrum analyzer?
A spectrum analyzer shows how level is spread across frequency. This one uses the Web Audio analyser node on either the microphone or a file you play through the page. It is a monitoring tool. It is not a class 1 instrument.
How an FFT analyzer works
Samples are windowed and transformed into bins. Bin spacing is the sample rate divided by the FFT size. A 2048-point transform at 48 kHz is about 23 Hz per bin. Raising the size separates closer partials and makes the display lag. Smoothing is the analyser’s own time constant, and you can turn it down when you want a jumpy but honest trace.
Understanding frequency peaks
The tallest bin is the strongest component in that window, which may be a harmonic of the note you think you are playing. Peak hold keeps the highest level each bin has reached so a short event stays visible. Clear throws that memory away. A frozen graph stops updating so you can look, and it is labeled by the freeze control rather than pretending to be live.
Understanding waveform displays
The waveform is amplitude against time for the latest analyser block. It shows clipping as flat tops and silence as a line. It does not show frequency by itself. Use it next to the spectrum, not instead of it.
What is a spectrogram?
A spectrogram stacks spectra over time. Here, new columns enter on the right and older ones shift left. Height is frequency, brightness is level between the dB floor and ceiling you set. It is useful for seeing a squeak or a dropout go past. It is not calibrated in sones or dB SPL.
RMS versus peak level
Peak answers “how close am I to digital full scale right now?” RMS answers “how much energy is in this window?” A drum hit has a high crest factor. A sine wave’s peak sits about 3 dB above its RMS. If those two numbers are almost equal on a sine, you are looking at clipping or at a window that caught only the top of the wave.
How to analyze microphone input
Start the microphone with processing off if you want the rawer signal. The same permission rules as the microphone test apply. Speak, or play a tone from another device into the mic, and watch the bins. Electrical hum often sits near the mains frequency and its multiples. This page will not name the cause for you.
How to use an audio analyzer
Pick a source, set the FFT size, and decide whether the frequency axis is logarithmic. Capture a snapshot to compare a later take. Export CSV if you want the bin values, or a PNG of the current canvas. File analysis decodes audio locally, up to 20 MB, and reports duration, channels, sample rate, peak, RMS, and the loudest averaged bin.
The latency panel separates browser estimates from a loopback experiment. Hold the mic near the speaker and leave monitoring off. The click is found by correlation with the signal that was sent, so a steady noise floor is not accepted as the click. Read the result as a coarse round trip. It is not input latency, output latency, and processing delay broken out with lab accuracy. Those three are not separately observable from one click in a browser.