Frequency Analyzer: Microphone and Audio File Spectrum

Frequency Analyzer

—dBFS · A-weightedMicrophone off
Minimum displayed level—
Maximum displayed level—
Estimated energy average / Leq—
Digital sample peak · dBFS—
Measured seconds—
Clipping frames—

Uncalibrated: relative digital levels, not sound pressure level. Nothing is recorded or uploaded by measurement tools.

Up to 20 MB and 180 seconds; codecs depend on the browser. Files stay local. Spectrum uses a channel mix; opposite-phase stereo can cancel.

Strongest spectral peak · Hz—
Nearest equal-tempered note—
FFT bin spacing · Hz—
  1. Start a microphone or analyze a local file.
Numeric measurements are available above and in export.Frequency content is available in the peak list.
Microphone, weighting and calibration
Ready when you are.

Related tools

This frequency analyzer shows how captured audio is distributed across frequency. Use a microphone for a changing spectrum and spectrogram, or choose a local audio file for an averaged spectrum. The numerical peak list, strongest frequency and FFT bin spacing help you interpret the graph without relying on its visual shape alone.

A spectral peak is a strong component of the signal, not necessarily the fundamental pitch of a voice or instrument. This tool does not identify songs, transcribe chords or separate a singer from background music. Use it to investigate frequency content rather than treating every displayed note name as a musical transcription.

Choose live input or local file analysis

For live sound, press Start microphone, allow access and select the intended input. Keep the microphone still while comparing conditions. The spectrum shows the current frequency distribution; the scrolling spectrogram adds a visual history of changing spectral content.

For a file, choose a local recording up to 20 MB and 180 seconds, then select Analyze file. Decoding depends on the browser’s codec support. A filename extension alone does not guarantee that the encoded audio can be read. If decoding fails, a supported PCM WAV export from your audio software is a useful alternative to try.

File analysis averages spectral energy across complete analysis windows. It does not provide a synchronized note-by-note timeline. Play file lets you listen to the selected recording, but the averaged spectrum is a summary of the file, not a live transcription that follows playback.

Read frequency, level and note labels

The horizontal axis is frequency in hertz, meaning cycles per second. Choose a logarithmic axis to spread lower-frequency relationships more evenly, or a linear axis to show equal frequency increments at equal distances. The vertical spectral values describe the digital input, not calibrated sound-pressure levels in the room.

The tool lists up to five strong local peaks. The strongest peak receives a nearest equal-tempered note label as a convenient reference. A harmonic can be stronger than a fundamental, and a noise signal can have a strong component without being a stable musical note. The note label therefore does not establish what someone sang.

If you want the overall microphone level rather than its frequency distribution, use the online sound meter. For integrated loudness and peak measurements from a recording, use the audio loudness meter.

Choose an FFT size for the question

The Fast Fourier Transform, or FFT, analyzes a finite window of samples. Available sizes are 2,048, 4,096, 8,192, 16,384 and 32,768. A larger window gives closer frequency bins but spans more time. That tradeoff matters when a sound changes rapidly.

Bin spacing equals sample rate divided by FFT size. At 48,000 samples per second, a 4,096-sample window has approximately 11.72 Hz spacing and spans about 85.3 milliseconds. A 32,768-sample window has approximately 1.46 Hz spacing and spans about 682.7 milliseconds. These are mathematical window properties, not promises of that much measurement accuracy.

Closely spaced tones may be easier to distinguish with a larger window, while a short transient can be blurred across that longer window. The implementation uses a Hann window to limit spectral leakage, but no window removes the tradeoff completely. Do not infer precision solely from the number of decimal places shown.

Freeze, peak hold and the spectrogram

Freeze display holds the visible spectrum so you can inspect it. It does not mean microphone capture has stopped; use Stop to release the input. Resume display returns to updating the plot. Peak hold keeps the highest observed value in each spectral bin, which is different from the current spectrum and from a long-term energy average.

Clear peak hold when you want to begin a new visual comparison. Switching between Spectrum only, Spectrogram only and both views changes presentation, not the physical signal. A bright region in a spectrogram needs its time and frequency context; it is not automatically evidence of a fault.

Save spectrum image captures the spectrum canvas. File analysis can export its averaged frequency-bin data as CSV. A stopped live session provides its measurement summary; do not assume that it exports a continuous spectrogram or every live FFT frame.

Investigate hum or a recurring tone

Observe whether a suspected peak remains at a similar frequency and whether it changes when the relevant ordinary sound source changes. Keep microphone position and gain fixed. Compare the same FFT size and axis so a presentation change is not mistaken for a different signal.

A low-frequency peak might come from ventilation, a motor, electrical interference, a room response or another source. A peak near 50 or 60 Hz is a clue, not an electrical diagnosis. The background noise test provides a short timed baseline and broad band proportions when you need a simpler comparison.

For a controlled listening demonstration, the tone generator can produce a chosen frequency. Keep output low and avoid feedback. A speaker-and-microphone loop includes both devices and the room; it cannot independently prove the analyzer or speaker has a calibrated response.

Understand channel and hardware limits

Live analysis uses the first captured channel. Local file analysis combines channels into a mix. Opposite-phase components in a stereo file can cancel in that mix, so a weak or missing peak may be a channel-combination effect rather than absence from both original channels.

The sample rate limits the available frequency range, and the microphone or playback system may impose a narrower useful range. Consumer microphone processing can suppress steady tones or change relative levels. The spectrum describes the signal the browser receives, not an ideal measurement of every sound present.

Audio processing stays in the browser. Files are selected locally rather than uploaded for analysis. Cancel discards an unfinished analysis result even if native decoding takes time to finish. Export any needed result before resetting or closing the page.

Frequently asked questions

Is the strongest frequency the note being played?

Not necessarily. A harmonic or another component may be stronger than the fundamental. The nearest-note label refers to that peak only; it is not a polyphonic note detector.

Why does a sine tone spread across several bins?

A finite analysis window and a tone falling between bin centres distribute energy across nearby bins. Windowing reduces leakage but does not make every frequency occupy one exact bin.

Does a bigger FFT always give a better result?

It gives finer bin spacing at the cost of a longer observation window. Choose it for stable, close frequencies; a smaller window may describe rapid changes more usefully.

Can I analyze an MP3 or M4A?

You can select supported local audio formats within the size and duration limits. Whether a particular encoding decodes depends on the browser. The tool does not convert unsupported codecs automatically.

Why is a stereo file unexpectedly quiet?

The file spectrum uses a channel mix, and opposing phases can cancel. Inspect the original channels in suitable audio software before concluding that the recording contains little signal.

Scroll to Top