Audio Spectrum Analyzer
See the sound! Analyze audio from your microphone or an audio file in real-time.
Frequency (X-axis) typically ranges from ~20Hz to 22050Hz (Nyquist frequency). Amplitude (Y-axis) is in dB or linear scale.
Understanding Audio Spectrums
An audio spectrum analyzer displays the different frequencies present in a sound signal and their respective intensities. The horizontal axis represents frequency (typically from low bass to high treble), and the vertical axis represents amplitude (loudness) at that frequency.
Features
- Real-time Analysis: Visualize audio as it plays from your microphone or an uploaded file.
- Frequency Spectrum: See the distribution of energy across different frequencies.
- Waveform (Oscilloscope): (Optional) View the raw audio waveform over time.
- Web Audio API Powered: Utilizes modern browser capabilities for audio processing.
How to Use
- Select Audio Source:
- Microphone: Click "Use Microphone". You'll be prompted to grant permission to access your microphone.
- Audio File: Click "Upload Audio File" and select an audio file (e.g., MP3, WAV) from your device.
- Once the audio source is active, the visualization will begin.
- Use controls to start/stop microphone input or play/pause the audio file.
- (If implemented) Switch between Spectrum and Waveform views.
Note: This tool requires a modern browser that supports the Web Audio API. Microphone access is needed for live input. All processing is done in your browser; no audio data is sent to our servers.
Color Scheme
The spectrum analyzer uses high-contrast colors for clear visualization. Per project requirements, blue and purple hues are avoided in the visualization. You'll typically see greens, yellows, oranges, and reds representing different amplitude levels against a dark background.