Repository navigation
更新内容
频谱显示优化
- **更直观地比较音频能量:**默认使用 Audacity 式固定亮度,增益
20 dB、范围80 dB、高频提升0。低能量音频保持较暗的显示,便于区分不同录音的能量差异;自动亮度默认关闭,手动开启后记忆选择。 - **配色与频谱细节更清晰:**优化彩色(玫瑰)、彩色(经典)、灰度、反转灰度四种配色;校准窗函数和零填充对显示电平的影响,并在多个频率点合并到同一像素行时保留窄谱峰。
- **亮度调节更方便:**新增增益、范围、高频提升控件和“恢复默认亮度”按钮,切换自动亮度时保留手动参数。鼠标悬停在恢复按钮上即可查看简要说明;亮度调整仅影响显示,不改变音频。
长音频精细缩放
- 取消固定
64 倍的时间缩放上限,长短音频均可放大到1 ms可见范围(低采样率时以一个采样点为下限),保持缩放锚点稳定并支持精细平移。 - 修复深度放大时,可见范围小于缓存图像一列导致频谱绘制不完整的问题。
Changes
Spectrogram display improvements
- Compare energy levels across recordings: fixed brightness is now the default, with Audacity-style gain
20 dB, range80 dB, and high boost0. Quiet recordings keep their lower intensity instead of being automatically brightened. Auto brightness is off by default and remembers your choice when enabled. - Clearer colors and spectral detail: refine the Rose, Classic, Grayscale, and Inverse Grayscale palettes; calibrate levels for window gain and zero padding; preserve narrow spectral peaks when multiple frequency bins share a display row.
- More control over brightness: adjust gain, range, and high-frequency boost, or choose Restore default brightness. Switching auto brightness on and off preserves manual settings. Hover over the restore button for a brief explanation; all brightness adjustments affect display only.
Fine zoom for long recordings
- Remove the fixed
64×time-zoom limit. Long and short recordings can both reach a1 msview (or one sample at low sample rates), with stable zoom anchoring and precise panning. - Fix incomplete spectrogram drawing at deep zoom levels when the visible range is narrower than one cached image column.
安装 / Installation
从附件下载 / Download audiolens-1.10.0.vsix:
code --install-extension ./audiolens-1.10.0.vsix --force