Analyze audio files — waveform, spectrogram, metadata, frequency analysis
This audio forensics tool uses the Web Audio API's AudioContext and AnalyserNode to perform real-time frequency domain analysis. The waveform visualization reads raw PCM samples from the decoded audio buffer and renders min/max amplitude per pixel column on an HTML5 Canvas. The spectrogram uses Fast Fourier Transform (FFT) with a 2048-point window to decompose the audio signal into its constituent frequencies, painting a time-frequency heatmap that reveals hidden tonal patterns, splices, or anomalies invisible in the raw waveform.
Real-world use cases:
This tool is part of the FAK LAB ecosystem, founded by Faizan Ahmad Khan Khichi. Your audio files are processed 100% client-side using the Web Audio API built into your browser. Audio data is decoded locally into memory, analyzed, and visualized — it is never uploaded to any server. No recordings are stored, no audio fingerprints are generated remotely, and no third parties have access to your files.
A waveform shows amplitude over time — how loud the signal is at each moment. A spectrogram adds a frequency dimension, showing which specific frequencies carry energy at each point in time. This reveals hidden patterns: a splice may look smooth in the waveform but show abrupt spectral discontinuities in the spectrogram.
The spectrogram uses real-time FFT analysis via the Web Audio API's AnalyserNode, which requires the audio to actually play through the AudioContext. This creates a MediaElementSource from the audio player and routes it through the analyser — the audio must be playing for frequency data to flow. This is a browser security requirement, not a limitation.
Yes. Multiple compression passes leave characteristic artifacts: spectral band limiting (frequencies cut off at the encoder's filter point), pre-echo smearing in the spectrogram, and loss of high-frequency detail. A WAV file that was previously MP3 will show a hard spectral cutoff even though it's now in a lossless container.