
A
AudioLens
Open SourceAudio playback, multi-channel waveforms, and spectrogram analysis directly in VS Code
๐ No Sign-upโก Editorial Signal: 70/100โ
78 Stars
code --install-extension simzhou.audiolensAudioLens is a free Apache-2.0 VS Code extension for listening to audio while inspecting per-channel waveforms and STFT spectrograms. It supports selection playback, measurements for the active channel, selection export as WAV, explicit PCM/RAW format settings and RIFF/WAVE entries in Kaldi archives. In Remote SSH workspaces, the extension reads remote files and transfers the audio data needed for local playback and visualization. No separate AudioLens account or hosted audio-upload service is required.
Inspect synchronized per-channel waveforms and STFT spectrograms on a shared timeline with mute and solo controls, supporting FFT sizes from 8 to 32,768 bins.
Measure RMS, peak dBFS, clipping ratio, crest factor, and frequency distributions for active channels, with the ability to export selected intervals as WAV.
Inspect audio in Remote SSH workspaces, decode explicit headerless PCM/RAW format settings, and read RIFF/WAVE entries at byte offsets in Kaldi archives.
Listening to audio and inspecting waveforms and STFT spectrograms directly within VS Code alongside machine learning manifests and training scripts
Auditing audio files in Remote SSH workspaces without manually downloading entire multi-gigabyte audio datasets locally
Validating headerless raw PCM formats and inspecting RIFF/WAVE entries in Kaldi archives during speech AI development
Speech AI researchers, machine learning engineers, audio DSP developers, and data scientists working with acoustic datasets.
AudioLens is a VS Code editor extension. Audio playback and visualization run in a Webview. In Remote SSH workspaces, the extension host reads audio on the remote host and transfers the data to the local Webview for playback and inspection.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
AudioLens is architected as an open-source Visual Studio Code extension built upon the VS Code Custom Editor and Webview runtime APIs. Rather than launching external heavy binary sub-processes, the extension runs directly within the editor's isolated Webview, utilizing the browser Web Audio API, Web Workers, and hardware-accelerated HTML5 2D Canvas for responsive visual rendering. AudioLens supports decoding standard media formats including WAV, FLAC, MP3, and OGG via native decoders, while providing explicit configuration parameters for headerless raw PCM/RAW files, allowing developers to define sample rates, bit depths, and channel interleaved layouts. When working inside VS Code Remote SSH workspaces, AudioLens reads audio files directly from the remote filesystem and transfers the audio payload over the active SSH channel to the local Webview for audio playback and spectrogram visualization. Furthermore, the extension specifically supports Kaldi speech recognition archives, extracting RIFF/WAVE entries located at designated byte offsets rather than parsing arbitrary binary matrix tables. The extension architecture isolates canvas rendering within Web Workers to prevent audio thread contention and main UI frame drops during playback. By maintaining processing inside the editor environment, AudioLens avoids external audio software context switches, delivering streamlined audio inspection alongside training manifests, model checkpoints, and digital signal processing code.
Developer ergonomics in AudioLens are optimized for speech machine learning engineers, audio DSP researchers, and dataset annotators working directly within the editor. Opening an audio file renders a synchronized timeline displaying per-channel waveforms alongside Short-Time Fourier Transform (STFT) spectrograms. Users can scrub audio, isolate channels via intuitive mute and solo buttons, and drag-select arbitrary temporal regions with millisecond accuracy for focused looping. Crucially, selected audio intervals can be saved and exported directly as standard WAV files for dataset filtering or verification. An active-channel Selection Analysis panel computes real-time acoustic measurements, including root-mean-square (RMS) energy, peak levels in dBFS, crest factor, clipping ratio, zero-crossing rate, and dominant frequency distributions. Spectrogram visualization provides extensive customization: users can select documented display palettes (Rose, Classic, Grayscale, and Inverse Grayscale), configure decibel dynamic range floors, and adjust FFT analysis window sizes across an expansive range from 8 up to 32,768 bins. Clean keyboard shortcuts and responsive zoom controls enable researchers to rapidly examine transient speech phonemes, background noise artifacts, and spectral harmonic overtone structures without friction. Because AudioLens registers as a standard custom editor tab, developers can dock waveform views adjacent to PyTorch DataLoader scripts or Jupyter notebooks, streamlining audio inspection without breaking developer focus.
AudioLens is published under the permissive Apache License 2.0, providing full code transparency through its public GitHub repository. The Apache-2.0 license permits commercial and private use, modification, and distribution, subject to standard attribution and copyright notice preservation requirements. AudioLens installs cleanly from the official Visual Studio Code Marketplace or Open VSX Registry, requiring no separate account registration, user licenses, or recurring subscription fees. The extension operates locally within the developer workstation or active Remote SSH environment without connecting to proprietary hosted audio services or external telemetry backends. For engineering organizations auditing open-source dependencies, the entire TypeScript and Webview codebase is available for internal security and compliance inspection. Total Cost of Ownership is minimal, as the extension incurs no server infrastructure hosting, database administration, or recurring maintenance fees beyond normal local IDE memory utilization. The documented privacy scope is clear and narrow: AudioLens operates locally within the editor and does not upload audio to a separate third-party service or external cloud platform. In Remote SSH sessions, audio data is read from the remote host and transferred to the local Webview for playback and inspection without intermediate proxy storage. Engineering teams can freely incorporate AudioLens into their developer workstation images, ensuring dependable acoustic diagnostics across speech research groups and machine learning teams with full license clarity and open-source sovereignty.
AudioLens earns a solid production recommendation for speech machine learning engineers, acoustic DSP researchers, and audio pipeline developers seeking in-editor signal analysis. Embedding responsive audio playback, real-time STFT spectrograms, acoustic measurements, and selection WAV exports directly into editor tabs dramatically shortens the debug loop when evaluating synthetic voice outputs or verifying audio preprocessing transforms. However, engineering teams must evaluate AudioLens within its intended scope: it is engineered specifically as a lightweight audio inspection, diagnostic, and selection export utility, not as a replacement for full-featured multitrack Digital Audio Workstations like Audacity. It does not provide destructive audio editing, multi-track time-stretching, spectral repair brushes, or plugin hosting suites. Additionally, in Remote SSH sessions, audio playback requires transferring audio data across the network connection, meaning massive multi-gigabyte audio datasets will encounter network transfer limits before rendering in the local Webview. Teams evaluating synthetic voice models, edge audio algorithms, and speech recognition manifests benefit from immediate visual verification directly adjacent to training code, ensuring rapid iteration without cumbersome desktop DAW switching overhead. By prioritizing low-overhead acoustic inspection over complex DAW editing workflows, AudioLens delivers an indispensable, reliable developer utility that keeps engineering focus centered directly on code and audio quality.
AudioLens is 100% free and open-source under the Apache License 2.0. No paid subscriptions, accounts, or licenses are required.
AudioLens is built specifically for acoustic inspection, diagnostics, and selection WAV export directly inside VS Code beside your code and dataset manifests. It is designed for inspection workflows rather than replacing Audacity's comprehensive multitrack editing and mastering suite.
AudioLens installs directly from the Visual Studio Code Marketplace as an editor extension (code --install-extension simzhou.audiolens). It runs locally within the editor's Webview runtime and does not require server hosting, Docker containers, database storage, or background services.
No account creation, login, or cloud service registration is required. You can install it immediately from the editor extensions panel.
In Remote SSH workspaces, AudioLens reads audio from the remote workspace and transfers the audio data over the connection to the local Webview for playback and visualization, supporting Kaldi archive RIFF/WAVE entries and explicit headerless PCM/RAW formats.
ToolsRadar maintains strict editorial independence. This review of AudioLens was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of AudioLens and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/audiolens)<a href="https://lordorange.top/tool/audiolens" target="_blank"><img src="https://lordorange.top/badge/audiolens.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring AudioLens.
High-signal, production-tested utilities with transparent codebases and active communities.
Command-line agents, local repository indexers, and unconstrained software engineering assistants.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.
Navigate the shifting legal landscape of modern open-source licensing, cloud relicensing controversies, and commercial risk.