Skip to content
sonnosaudio lab

Analysis

Online Audio Analyzer – Analyze Sound in Real Time

Spectrum, waveform, and spectrogram from the microphone or a local file. Latency figures are split into browser estimates and a coarse loopback experiment.

Lower your system volume before you start. Sonnos opens quietly, but it cannot turn down your computer or phone. Press Escape, or the Stop audio button, to silence playback at once. These tools are not hearing tests and they cannot certify headphones, speakers, or microphones.

Analyzer

RMS
—
Peak
—
Dominant frequency
—

FFT peak and autocorrelation can disagree on noisy or harmonic signals. The dominant-frequency figure uses autocorrelation and stays blank when the level is near silence. Orange trace, when present, is your captured snapshot — not a second microphone.

Latency, experimental

Browser base latency —. Output latency not reported. These are the browser’s own estimates, not a measured acoustic delay.

Round trip needs the microphone near the speaker and monitoring off. The click is matched by correlation against the known test signal, so ordinary room noise is rejected instead of being timed as the click. The figure is still approximate, often tens of milliseconds uncertain, and it is not a laboratory measurement.

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.

Frequently asked questions

What is an FFT?

A fast Fourier transform turns a short block of samples into frequency bins. Larger FFT sizes separate close frequencies and update more slowly.

Why doesn’t the peak match the note I’m singing?

The brightest bin may be a harmonic. The dominant-frequency readout uses autocorrelation and stays blank when the signal is noisy or quiet.

What is the spectrogram showing?

Time runs sideways and frequency runs up the display. Brighter marks are higher level in that bin. It is a view of the analyser, not a calibrated sonogram.

RMS or peak?

Peak is the highest absolute sample in the window. RMS is the heating-equivalent average. Crest factor is peak minus RMS, in decibels.

Is the latency test accurate?

No. It is an experimental loopback: a click goes out, the mic time-domain peak comes back. Expect tens of milliseconds of uncertainty. The browser’s baseLatency and outputLatency figures are estimates, not measurements.

Can I compare two signals?

Capture a snapshot. The orange trace stays put while the live spectrum moves. File analysis also reports duration, channel count, sample rate, peak, and RMS from the decoded samples.