Install
openclaw skills install mac-ttsText-to-speech using macOS built-in `say` command. Use for voice notifications, audio alerts, reading text aloud, or announcing messages through Mac speakers. Supports multiple languages including Chinese (Mandarin), English, Japanese, etc.
openclaw skills install mac-ttsUse macOS built-in say command for text-to-speech output through system speakers.
say "Hello, this is a test"
say -v "Meijia" "你好,這是測試" # 台灣中文 (推薦)
say -v "Tingting" "你好,这是测试" # 簡體中文
say -v "Samantha" "Hello world" # 英文
| Voice | Description |
|---|---|
| Meijia | 美佳 - 自然女聲 (推薦) |
| Flo | 年輕女聲 |
| Eddy | 男聲 |
| Reed | 男聲 |
| Sandy | 女聲 |
| Shelley | 女聲 |
say -v "?" # 全部語音
say -v "?" | grep zh_TW # 只列台灣中文
Check/adjust system volume before speaking:
# Check current volume (0-100) and mute status
osascript -e "output volume of (get volume settings)"
osascript -e "output muted of (get volume settings)"
# Unmute
osascript -e "set volume without output muted"
# Set volume (0-100)
osascript -e "set volume output volume 70"
say -v "Meijia" "外送到了"say -v "Meijia" "會議即將開始"say -v "Meijia" "注意,有新的緊急訊息"& for async: say "message" &