一个使用 Go 编写的 Silk 音频解码工具,不需要额外的ffmpeg,纯底层实现用于将微信语音常见的 .silk 文件直接转换为标准的 .wav 音频文件。
A Silk audio decoding tool written in Go that does not require an additional FFmpeg dependency. It is a pure low-level implementation designed to directly convert the .silk audio files commonly used by WeChat voice messages into standard .wav audio files.
- ✅ 支持 Silk → WAV 解码 Decode Silk audio files to WAV
- ✅ 跨平台(Windows / macOS / Linux) Cross-platform (Windows / macOS / Linux)
- ✅ 纯命令行工具,无 GUI、无后台服务 Pure CLI tool, no GUI, no background service
- ✅ 不监听端口,不联网,安全可控 No network access, no port listening
- ✅ 单文件可执行程序 Single standalone executable
请前往 Releases 页面下载适合你系统的可执行文件:
Please go to the Releases page to download the executable for your platform.
silk-decoder-linux-amd64silk-decoder-win64.exesilk-decoder-macos-amd64silk-decoder-macos-arm64silk-decoder-linux-amd64silk-decoder-linux-arm64
silk-decoder input.silk output.wav如果不指定输出文件名,将自动生成同名 .wav 文件。
If output file is not specified, a .wav file with the same name will be generated automatically.
silk-decoder -in input.silk -out output.wav -rate 16000参数说明 Parameters:
| 参数 | 说明 (中文) | Description (EN) |
|---|---|---|
-in |
输入 silk 文件 | Input silk file |
-out |
输出 wav 文件 | Output wav file |
-rate |
目标采样率(Hz),0 表示原始采样率 | Target sample rate (Hz), 0 = source rate |
- 本工具 不包含任何网络通信逻辑
- 不监听端口,不收集数据
- 仅对本地文件进行读取和写入
This tool:
- Does NOT open network connections
- Does NOT listen on any ports
- Does NOT collect or upload data
- Operates on local files only
⚠️ Windows 上部分安全软件可能会对未签名的 Go 可执行文件产生误报(False Positive)。 这是已知现象,与程序行为无关。
⚠️ Some antivirus software on Windows may falsely flag unsigned Go executables. This is a known false-positive issue and does not indicate malicious behavior.
MIT License
- Silk codec implementation
- Go community
如果你觉得这个项目对你有帮助,欢迎 ⭐ Star 支持!
If you find this project useful, feel free to ⭐ Star it!