AudioLens: listen to audio and inspect waveforms and spectrograms in VS Code
Description and use
AudioLens lets developers listen to and inspect audio waveforms and spectrograms within VS Code, offering channel isolation, measurement tools, and support for remote and raw PCM workflows.
Problem
Developers need to listen to and analyze audio files directly within VS Code while working on code, transcripts, manifests, or model outputs.
Outcome
AudioLens streamlines audio inspection within VS Code, reducing context switching and supporting advanced analysis features such as multi‑channel isolation and spectrogram customization.
Workflow
- Open an audio file in VS Code
- Press Space to play or pause
- Seek or drag a time selection to play a region
- Use Mute/Solo and per‑channel gain/pan to isolate channels
- Toggle waveform, spectrogram, or both views
- Adjust spectrogram controls (FFT size, window, frequency scale, range, color palette)
- Drag a region to view measurements (RMS, peak, clipping ratio, dominant frequency, spectral centroid)
- Use Remote SSH to preview audio in a remote workspace
- Specify raw PCM parameters (sample rate, channel count, encoding, byte order, offset)
- Hover over a supported audio path in a manifest or log file and choose Open in AudioLens
- Open Kaldi WAV Ark entries for inspection
Evidence
AudioLens lets you listen to audio, inspect waveforms, and analyze spectrograms directly in VS Code
Open an audio file with AudioLens and press Space to play or pause
For multi-channel recordings, each channel has its own track. Use Mute and Solo to isolate what you hear
The spectrogram uses STFT analysis and exposes controls for FFT size, window function, frequency scale, displayed frequency range, and color palette
Drag a region to inspect the active channel's measurements, including RMS, sample peak, clipping ratio, dominant frequency, and spectral centroid
AudioLens also supports workflows that come up in speech and audio development: Remote SSH, Raw PCM, Manifest and log files, Kaldi WAV Ark
- Record date: 2026-11-01T17:14:14.122Z