📊 Spectrum Analyzer

Real-time audio frequency analysis with visual spectrum display

No Dependencies · Works Offline

Audio Spectrum Analysis

Peak Freq
--
Avg Amplitude
--
Sample Rate
--

What Can the Spectrum Analyzer Do?

The Spectrum Analyzer is a free online tool that uses the Web Audio API to analyze audio signals in real-time, decomposing sound into different frequency components and displaying them as a visual spectrum. It supports both real-time microphone input and local audio file upload, helping users intuitively understand audio frequency characteristics.

Core Features

  • Real-time Spectrum Analysis: Uses FFT algorithm to decompose audio signals in real-time, visualizing amplitude of each frequency component
  • Multiple Input Sources: Supports real-time microphone recording and local audio file upload (MP3/WAV/OGG/FLAC)
  • Multiple Display Modes: Bar chart, line chart, and mirror display for different visualization styles
  • Adjustable Parameters: Customizable FFT size and smoothing coefficient for different analysis needs
  • Peak Detection: Real-time display of peak frequency, average amplitude, and sample rate

How to Use

1. Click the "Microphone" button to authorize microphone access, or click "Upload Audio" to select a local audio file

2. Adjust FFT size and smoothing parameters to optimize analysis results

3. Select display mode (Bars/Line/Mirror) to view different spectrum styles

4. Observe peak frequency and amplitude information to analyze audio characteristics

Use Cases

Case 1: Audio Production & Mixing

Music producers use spectrum analysis to check frequency balance in mixes, identifying frequency conflicts and resonance issues.

Case 2: Acoustic Environment Analysis

Use the microphone to analyze room acoustic characteristics in real-time, identifying standing waves and resonant frequencies.

Case 3: Equipment Fault Diagnosis

Analyze the spectral characteristics of equipment running sounds to identify abnormal frequency components for fault diagnosis.

Technical Background

The Fast Fourier Transform (FFT) is the core algorithm for spectrum analysis, converting time-domain signals to frequency-domain representations. FFT size determines frequency resolution (Δf = sample rate / FFT size). Larger values provide higher frequency resolution but lower time resolution. The smoothing coefficient controls spectrum display smoothness. The human audible range is 20Hz-20kHz, with different frequency bands corresponding to different sound characteristics.

FAQ

Why is there no sound from the microphone?
Ensure the browser has microphone permission, check system microphone settings, and confirm no other application is using the microphone.
What FFT size should I use?
4096 is good for general use. Use 8192 or 16384 for higher frequency resolution, or 2048 for faster response. Frequency resolution = sample rate / FFT size.
What audio formats are supported?
All browser-compatible audio formats are supported, including MP3, WAV, OGG, FLAC, and AAC. Specific support depends on your browser.
What do the axes represent?
The horizontal axis represents frequency (low to high, typically 20Hz to 20kHz), and the vertical axis represents amplitude (volume intensity) at that frequency in decibels (dB).
Is data uploaded to a server?
No. All audio analysis is performed locally in the browser using the Web Audio API. No audio data is uploaded to any server.

Spectrum Analyzer | No Signup, Client-Side · No Server Uploads

Feedback: dexshuang@google.com

Copied to clipboard