Audio Viewer
Audio Visualizer
Loads a file or a recording and displays the waveform and frequency spectrum, and computes RMS, peak amplitude, dominant frequency, duration, sampling rate, and number of channels.
Learning Objective
Read the basic signal metrics and relate the time-domain shape to the frequency content.
Experiment
Audio is processed inside your browser and is not sent to the server. The microphone is opened only when you press it.
Experiment Details
Prerequisites
- A WAV/MP3/OGG/WebM file supported by the browser
Inputs
An audio file you upload from your device or a microphone recording; processing happens inside your browser and nothing is sent to the server.
Method
The browser decodes the audio (decodeAudioData), then the dsp.js package computes: $\mathrm{RMS}=\sqrt{\tfrac1N\sum x_n^2}$, the peak $\max|x_n|$, and the FFT spectrum with a Hann window.
Results
RMS (linear and dB), Peak, dominant frequency, duration, sampling rate, channels, format.
Charts
Waveform, spectrum (dB scale).
Scientific Interpretation
RMS relates to average energy, while Peak is affected by instantaneous maxima; clipping appears when the peak approaches 1.0.
Questions for Reflection
- How does RMS differ from Peak for an impulsive signal?
- What does a dominant frequency of 440 Hz mean?
Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy
