Skip to content

kexws/Silk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Silk Decoder

一个使用 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.


✨ 特性 Features

  • ✅ 支持 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

📦 下载 Download

请前往 Releases 页面下载适合你系统的可执行文件:

Please go to the Releases page to download the executable for your platform.

  • silk-decoder-linux-amd64silk-decoder-win64.exe
  • silk-decoder-macos-amd64
  • silk-decoder-macos-arm64
  • silk-decoder-linux-amd64
  • silk-decoder-linux-arm64

🚀 使用方法 Usage

基本用法 Basic Usage

silk-decoder input.silk output.wav

如果不指定输出文件名,将自动生成同名 .wav 文件。

If output file is not specified, a .wav file with the same name will be generated automatically.


使用参数 With Flags

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

🔐 安全说明 Security Notice

  • 本工具 不包含任何网络通信逻辑
  • 不监听端口,不收集数据
  • 仅对本地文件进行读取和写入

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.


📄 许可证 License

MIT License


🙏 致谢 Acknowledgements

  • Silk codec implementation
  • Go community

如果你觉得这个项目对你有帮助,欢迎 ⭐ Star 支持!

If you find this project useful, feel free to ⭐ Star it!

About

Silk Decoder

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors