[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81610":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":13,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},81610,"vscode-audiolens","SimZhou\u002Fvscode-audiolens","SimZhou","Audio inspection & analysis extension for Visual Studio Code","",null,"TypeScript",29,3,23,0,6,9,51.41,"Other",false,"main",true,[24,25,26],"audio","audio-processing","vscode","2026-06-12 04:01:34","# AudioLens\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Flogo\u002FAudioLens_logo_v2.png\" alt=\"AudioLens\" width=\"360\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cem>\"I am ashamed to say that I have done only a tiny bit of work.\"\u003C\u002Fem>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  English | \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FSimZhou\u002Fvscode-audiolens\u002Fblob\u002Fmain\u002FREADME.zh-CN.md\">简体中文\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FSimZhou\u002Fvscode-audiolens\u002Fblob\u002Fmain\u002FREADME.ja.md\">日本語\u003C\u002Fa>\n\u003C\u002Fp>\n\nAudioLens is an audio inspection extension for Visual Studio Code. It is built for speech, audio, and machine learning work where audio files should stay next to the code, labels, scripts, and test data that explain them.\n\nOpen an audio file and AudioLens shows playback, multi-channel tracks, waveforms, spectrograms, selection playback, PCM controls, and practical analysis metrics inside a read-only VS Code editor.\n\n## Preview\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Fdocs\u002Fassets\u002Freadme\u002FMain-Screen-multichannel.en-US.png\" alt=\"AudioLens multi-channel main screen\" width=\"920\">\n\u003C\u002Fp>\n\n## Highlights\n\n- Opens `wav`, `mp3`, `flac`, `ogg`, `opus`, `m4a`, `aac`, `pcm`, and `raw` files.\n- Displays mono and multi-channel files as separate Audacity-style tracks.\n- Supports waveform, spectrogram, and combined waveform + spectrogram views per channel.\n- Provides per-channel mute and solo controls with stereo downmix playback.\n- Reads raw PCM files with explicit sample rate, channel count, bit depth, sample format, byte order, and start offset.\n- Lets WAV files be reopened as raw PCM for header-offset or damaged-file inspection.\n- Analyzes selected regions with time-domain and frequency-domain metrics.\n- Keeps preferences such as spectrogram settings, playback gain, default track view, and PCM defaults.\n- Works in local VS Code windows and Remote SSH workspaces.\n\n## Feature Demos\n\n### Multi-Channel Tracks and Multi-View\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Fdocs\u002Fassets\u002Freadme\u002F1.multi-channel_tracks_and_multi-view.en-US.gif\" alt=\"Multi-channel tracks and multi-view demo\" width=\"920\">\n\u003C\u002Fp>\n\n### Selection Playback and Analysis\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Fdocs\u002Fassets\u002Freadme\u002F2.selection_playback_and_analysis.en-US.gif\" alt=\"Selection playback and analysis demo\" width=\"920\">\n\u003C\u002Fp>\n\n### PCM \u002F RAW Parameterized Loading\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Fdocs\u002Fassets\u002Freadme\u002F3.pcm_raw_parameterized_loading.en-US.gif\" alt=\"PCM and RAW parameterized loading demo\" width=\"920\">\n\u003C\u002Fp>\n\n## Supported Files\n\nAudioLens uses the browser audio stack for common encoded formats and extension-host file reads for VS Code workspace compatibility.\n\n| Type | Extensions | Notes |\n| --- | --- | --- |\n| WAV | `.wav` | Supports multi-channel WAV files and optional one-time raw PCM reread. |\n| Encoded audio | `.mp3`, `.flac`, `.ogg`, `.opus`, `.m4a`, `.aac` | Uses the VS Code Webview decoder first. When available, extension-host FFmpeg is used as a fallback for formats the Webview cannot decode. |\n| Raw PCM | `.pcm`, `.raw` | Requires explicit PCM parameters before reading. |\n\n## Multi-Channel Workflow\n\nMulti-channel files are shown as separate channel tracks. Each track has a compact left control strip and a full-width analysis area.\n\n- `Mute` disables playback for that channel.\n- `Solo` plays that channel and silences the other channels.\n- The track view selector switches a channel between waveform, spectrogram, and combined view.\n- Selecting a track makes it the active channel for selection analysis.\n\nThe waveform color is consistent across channels so the selected channel does not visually distort track comparison. Adjacent tracks are drawn as a compact stack with shared borders, while the selected track keeps a rounded focus outline for quick orientation.\n\n## PCM Workflow\n\nFor `.pcm` and `.raw` files, AudioLens asks for PCM parameters before decoding:\n\n- sample rate\n- channel count\n- bit depth\n- integer or float sample format\n- little-endian or big-endian byte order\n- start offset in bytes\n\nThe current PCM parameters can be saved as defaults for later PCM files. AudioLens does not guess raw PCM parameters from the file name, because raw PCM does not contain reliable metadata.\n\nWAV files can also be reopened as PCM from the top bar. This is a one-time operation for the current file and is useful when inspecting raw payloads, non-standard headers, or offset-sensitive test files.\n\n## Selection Analysis\n\nDrag across any waveform or spectrogram to create a time selection. AudioLens can play the selected range and calculate metrics for the active channel.\n\nCurrent analysis includes:\n\n- start time, end time, and duration\n- RMS level and peak level\n- dominant frequency\n- crest factor\n- clipping ratio\n- noise floor estimate\n- spectral centroid\n- zero-crossing rate\n- frequency-band distribution\n\nTooltips next to the metrics describe how each value is calculated and when it is useful.\n\n## Spectrogram Controls\n\nAudioLens includes practical spectrogram controls for speech and signal inspection:\n\n- algorithms: Frequency, Reassignment, Pitch (EAC)\n- FFT sizes from `8` to `32768`\n- window functions: Rectangular, Bartlett, Hamming, Hann, Blackman, Blackman-Harris, Welch, and Gaussian variants\n- zero padding factors from `1` to `128`\n- frequency scales: Linear, Log, Mel, Bark, ERB\n- palettes: Rose, Classic, Grayscale, Inverse Grayscale\n- configurable dB brightness range and auto brightness\n\nSpectrogram work runs behind a worker boundary so expensive analysis does not block the Webview interaction path.\n\n## Controls\n\n| Action | Shortcut |\n| --- | --- |\n| Play or pause | `Space` |\n| Clear selection or playback cursor | `Esc` |\n| Reset time zoom | `Ctrl` \u002F `Command` + `F` |\n| Time zoom on macOS | `Command` + mouse wheel |\n| Time zoom on Windows\u002FLinux | `Ctrl` + mouse wheel |\n| Pan visible time range | `Shift` + mouse wheel |\n| Zoom waveform amplitude on macOS | `Option` + mouse wheel |\n| Zoom waveform amplitude on Windows\u002FLinux | `Alt` + mouse wheel |\n| Reset playback gain | Double-click the gain slider |\n\n## Localization\n\nAudioLens follows the VS Code display language by default. You can override the Webview language with the `audiolens.language` setting or by running `AudioLens: Switch Language` from the Command Palette.\n\nSupported languages:\n\nSimplified Chinese, Traditional Chinese, English, Japanese, Korean, French, German, Russian, Spanish, Italian, Portuguese, Indonesian, Norwegian, Dutch, Polish, Turkish, and Vietnamese.\n\nNew interface strings fall back to English until a locale has a complete translation.\n\n## Remote SSH\n\nAudioLens is declared as a workspace extension. In a Remote SSH window, the extension host runs in the remote workspace, reads audio files from the remote file system, and streams the data to the local Webview for playback and visualization.\n\nUse the top-bar download button when you want to save the current remote audio file locally.\n\n## Privacy\n\nAudioLens does not upload audio files to any third-party service. Audio content is read by the VS Code extension host and analyzed inside the VS Code Webview and worker runtime.\n\n## Install\n\nInstall from the Visual Studio Marketplace:\n\nhttps:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=simzhou.audiolens\n\nOr install from the command line:\n\n```bash\ncode --install-extension simzhou.audiolens\n```\n\n## Install From VSIX\n\nFor local testing, install a packaged build with:\n\n```bash\ncode --install-extension dist\u002Faudiolens-1.0.7.vsix\n```\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnpm run typecheck\nnpm run rust:test\nnpm run package\n```\n\nPress `F5` in VS Code and choose the AudioLens extension launch configuration. Then open a supported audio file in the Extension Development Host.\n\n## Author\n\nSimZhou: https:\u002F\u002Fsimzhou.com\u002Fen\u002Fabout\u002F\n\n## Support AudioLens\n\nIf AudioLens helps with your speech, audio, or data annotation workflow, you are welcome to support its ongoing development.\n\n### Ko-fi\n\nSupport AudioLens on Ko-fi: https:\u002F\u002Fko-fi.com\u002Fsimzhou\n\n### WeChat\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002FSimZhou\u002Fvscode-audiolens\u002Fmain\u002Flogo\u002Fwechat_support.jpeg\" alt=\"WeChat appreciation code\" width=\"240\">\n\u003C\u002Fp>\n\n## Copyright\n\nCopyright (c) 2026 SimZhou. All rights reserved.\n","AudioLens 是一个为 Visual Studio Code 设计的音频检查与分析扩展。它支持多种音频文件格式（如wav, mp3, flac等），并能在编辑器内显示波形图、频谱图以及多通道音轨，同时提供选择播放、PCM控制和实用的音频分析指标等功能。此工具特别适合需要将音频文件与代码、标签、脚本及测试数据紧密关联的工作场景，例如语音处理、音频工程和机器学习项目中。通过在VS Code环境中直接操作音频文件，用户可以更高效地进行开发和调试工作。",2,"2026-06-11 04:05:41","CREATED_QUERY"]