Converting MP3 and Other Formats to WeChat Silk Audio Files

Jan 24, 2025 · 1 min read · 180 Words · -Views -Comments · Digital Life
Communication Tools 🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

I’ve been playing with WeChat bots in my spare time, and recently wanted to add support for sending voice files. Research shows that WeChat voice files use the Silk format, while AI voice synthesis typically provides MP3/WAV formats. So I need to solve the conversion from MP3 to Silk.

Silk

Silk is an audio compression format developed by the famous Skype company. It’s like a “sound magician” that can compress voice signals into very small sizes while maintaining high audio quality. WeChat recognized these advantages of Silk and uses it for voice message transmission.

Solution

  • Use ffmpeg to convert to PCM (skip this step if direct PCM output is supported)
  • Use pysilk to convert PCM to Silk
  • Host the Silk file on a web service for WeChat sending

Mac Silk Player

Recommended to use SilkPlayer

  1. Selection complete

    https://static.1991421.cn/2025/2025-03-09-131925.jpeg

  2. Choose to open

    https://static.1991421.cn/2025/2025-03-09-132011.jpeg

  3. Drag file to player, click play

    https://static.1991421.cn/2025/2025-03-09-132135.jpeg

Final Thoughts

Through sending voice messages via WeChat, I learned that Silk is quite interesting. Those who are interested can research it further.

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover