Skip to content
Aback Audio

Spectrum Analyzer

Watch frequencies live from your microphone or a playing file with a real-time spectrum, peak hold, freeze and dominant frequency readout in your browser.

About the Spectrum Analyzer

The Spectrum Analyzer shows which frequencies are present right now. Choose Microphone under Input and press Start microphone to listen to the room, or choose Audio file, drop a file and press play. The display runs from 20 Hz to 20 kHz on a logarithmic axis with a dB scale, and it updates continuously while sound is present.

There are three FFT resolutions: Fast at 2048 points, Detailed at 8192 and Fine at 32768. Smoothing steadies the display, Peak hold draws a thin line of recent maxima, and Freeze stops the current frame so you can read it. Below the graph, Peak: reports the dominant frequency, its level in dB and the nearest musical note with its cents offset.

The microphone signal is analysed frame by frame in the page and is not connected to the speakers, so there is no feedback loop from this tool. Nothing is recorded. To capture a file of what you hear, use the Voice Recorder; to see frequencies across an entire file at once, use the Spectrogram Viewer; to produce a known tone, try the Tone Generator.

Why Use the Spectrum Analyzer?

Microphone or file input

Switch Input between Microphone and Audio file. The microphone path goes only to an analyser, while file playback routes through an analyser and the speakers so you can hear what you see.

Readable logarithmic display

Grid lines mark 50, 100, 200, 500, 1000, 2000, 5000 and 10,000 Hz, with dB grid lines at -20, -40, -60 and -80. Display switches between Bars and Line.

Dominant frequency with a note

The strongest bin is refined by parabolic interpolation between neighbouring bins and converted to a note name, octave and cents offset. That makes it practical for checking a sustained whistle, hum or tuning reference.

Peak hold and freeze

Peak hold decays the stored maximum by 0.4 dB per frame so brief peaks stay visible. Freeze pauses the display while keeping the last frame, which helps when a peak appears only for a moment.

Processed locally in your browser

Microphone audio is handled in this page's memory and never sent anywhere. Aback Audio has no server that could receive it.

Free, no sign-up, no watermark

Every tool is free with no account, no watermark and no daily limit. The only limit is your device's memory, and the tool warns you before anything risky.

Common Uses for the Spectrum Analyzer

Room acoustics

Clap or play a sweep and watch which frequencies linger. A strong, narrow peak often points to a room mode; the Tone Generator can play the exact frequency to confirm it.

Feedback hunting

With a live microphone, raise the gain slowly and watch for a rising spike. Note its frequency, then cut that band with the Audio Equalizer on a recording of the same source.

Whistle and tone checks

Play a single sustained note and read Peak:. The note and cents display show whether it matches the pitch you expected, which complements the Online Tuner.

Science and teaching

Show how a sine wave has one narrow peak while a snare or cymbal spreads energy widely. Changing Resolution demonstrates the trade-off between pinning a frequency and tracking fast changes.

Instrument timbre

Compare the same note on a guitar and a flute. The harmonic peaks above the fundamental explain why two instruments with the same pitch sound different.

Noise checks

A hum at 50 Hz or 60 Hz and its multiples appears as a comb of narrow peaks. Confirm the frequency here, then remove it from a file with the Hum Remover.

Playback verification

Load a file you exported and play it while watching the spectrum. A missing low end or an unexpected high-frequency cutoff is easier to see than to hear on small speakers.

How the Spectrum Analyzer Works

How to use it

  1. 1Choose Microphone or Audio file under Input.
  2. 2For the microphone, press Start microphone and allow access when your browser asks. For a file, drop one on the drop zone and press play.
  3. 3Watch the graph from 20 Hz to 20 kHz; read Peak: for frequency, level and musical note.
  4. 4Set Display to Bars or Line, choose Resolution and adjust Smoothing and Peak hold.
  5. 5Press Freeze to hold a frame, then Stop microphone or pause the file when you are done.

What an FFT shows

The browser's AnalyserNode returns magnitude per frequency bin. Bin width is the sample rate divided by the FFT size: at 48 kHz, an 8192-point transform gives bins about 5.9 Hz wide, while 32768 gives about 1.5 Hz. A larger transform separates close frequencies but reacts more slowly to changes.

From bins to a readable peak

Each pixel column covers a range of bins, and the loudest bin in that range is drawn. The dominant frequency readout uses parabolic interpolation around the strongest bin to estimate a peak between bin centres, which is why a steady tone can be reported with finer precision than the raw bin spacing. It is an estimate, not a calibrated measurement.

Smoothing, hold and scale

Smoothing sets the analyser's time constant between 0 and 0.95, averaging frames to reduce jitter. Peak hold keeps per-bin maxima and decays them slowly. The vertical scale covers 0 to -100 dB, and the horizontal axis uses a logarithmic map so an octave occupies the same width everywhere.

Microphone handling

The microphone stream is connected to an analyser only, never to the speakers. Frames are processed in memory and discarded; no recording is made and no file is written. Access begins only after you press Start and your browser grants permission.

Privacy, security and availability

The microphone is only used after you press Start and allow access, and stops when you press Stop or leave the page. Audio stays in memory on your device. The tool works in any modern browser on desktop and mobile, with no install.

Tips for Better Results

  • Choose resolution for the question

    Use Fine for two close tones, Detailed for general work and Fast when you need to see fast transients. The display updates less often at higher resolutions, so start with Detailed and change only if needed.

  • Freeze a fleeting peak

    If a hum appears only when a machine starts, keep Peak hold on and press Freeze as soon as you see it.

  • Turn off smoothing for clicks

    High smoothing makes a display pretty but hides short events. Lower it to near zero when you are tracking a transient.

  • Confirm with a known tone

    Play 1000 Hz from the Tone Generator to check that your input chain and the readout behave as expected.

Limitations

  • Microphone access depends on browser permission and hardware. Some browsers require HTTPS or a secure local context, and device names may not appear until access is granted.
  • A file must be playable directly by your browser. If playback fails, convert it to MP3 or WAV with the Audio Converter first.
  • The analyser is a visual diagnostic, not a calibrated measurement instrument. The dominant frequency is reliable for clear steady tones and unreliable for noisy or polyphonic material.

Frequently Asked Questions

Why do I need to allow the microphone?

Browsers require permission before a page can use an input device. Access starts only when you press Start microphone, and the signal goes to an analyser rather than a recording.

How accurate is the frequency readout?

It interpolates between FFT bins, so a clear steady tone is usually reported within a few hertz. Noisy or mixed sounds can produce a misleading peak.

Does this work on phones?

Yes in current mobile browsers that support microphone capture and Web Audio. Use headphones if you also play a file to avoid feedback.

Can I save the analysis?

This page shows a live view. To keep an image of a whole file, use the Spectrogram Viewer and export a PNG.

Why is the microphone path not connected to the speakers?

Connecting it would create acoustic feedback. The analyser reads the samples without playing them back.

What does Peak hold do?

It stores the highest recent level in each band and lets it decay slowly, so brief peaks remain visible after they have passed.

What is the difference between Fast, Detailed and Fine?

They are FFT sizes of 2048, 8192 and 32768. Larger sizes separate close frequencies better but update more slowly.

Why does a file show no spectrum?

Press play after loading it, and make sure the browser can decode the format. Convert the file first if necessary.

Can I identify the note of a peak?

Yes. The readout beside the graph shows the nearest note, octave and cents offset when the peak is strong enough.

How do I remove a hum I find here?

Note the frequency, then use the Hum Remover on the file. It filters the fundamental and its harmonics with adjustable notch width.

Is the Spectrum Analyzer free?

Yes. It is free to use with no sign-up, no watermark and no usage limits.

Is my audio uploaded to a server?

No. Microphone audio is processed in your browser's memory only.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Opus encoding needs a browser with WebCodecs audio encoding; every other format works everywhere.