WeCom Voice Message Sender
Send native voice messages to WeCom (企业微信) using Windows TTS.
Usage
CODEBLOCK0
How it works
- 1. TTS: Uses Windows System.Speech (Microsoft Huihui voice)
- Convert: FFmpeg converts WAV to AMR (WeCom native voice format)
- Send: OpenClaw CLI sends from
media/inbound directory
Technical Details
- - TTS Voice: Microsoft Huihui Desktop (中文)
- AMR Format: 8000Hz, mono, 12.2kbit/s
- Directory: Must send from INLINECODE1
Files
- -
SKILL.md - This file - INLINECODE3 - Main script
技能名称: wecom-voice
详细描述:
企业微信语音消息发送器
使用Windows TTS向企业微信发送原生语音消息。
使用方法
bash
基础用法
node scripts/send-voice.cjs 要说的内容
指定目标用户
node scripts/send-voice.cjs Hello FanQi
工作原理
- 1. TTS: 使用Windows System.Speech(微软慧慧语音)
- 转换: FFmpeg将WAV转换为AMR(企业微信原生语音格式)
- 发送: OpenClaw CLI从media/inbound目录发送
技术细节
- - TTS语音: 微软慧慧桌面版(中文)
- AMR格式: 8000Hz, 单声道, 12.2kbit/s
- 目录: 必须从~/.openclaw/media/inbound发送
文件
- - SKILL.md - 本文件
- scripts/send-voice.cjs - 主脚本