speak
8
总安装量
8
周安装量
#35268
全站排名
安装命令
npx skills add https://github.com/soul-brews-studio/oracle-skills-cli --skill speak
Agent 安装分布
mcpjam
8
mistral-vibe
8
claude-code
8
junie
8
windsurf
8
zencoder
8
Skill 文档
/speak – Text-to-Speech
Speak text using edge-tts (high-quality neural voices) with fallback to macOS say.
Quick Start
/speak "Hello world" # Default English voice
/speak --thai "สวัสà¸à¸µà¸à¸£à¸±à¸" # Thai voice
/speak --voice "en-GB-RyanNeural" "Hi" # Specific voice
/speak --mac "Hello" # Force macOS say
Options
| Option | Description |
|---|---|
--thai |
Use Thai voice (th-TH-NiwatNeural) |
--female |
Use female voice |
--voice NAME |
Specific edge-tts voice |
--mac |
Force macOS say command |
--rate RATE |
Speech rate (edge-tts: +/-50%, mac: 100-300) |
--list |
List available voices |
Default Voices
| Language | Voice |
|---|---|
| English | en-US-GuyNeural (male) |
| English | en-US-JennyNeural (female) |
| Thai | th-TH-NiwatNeural (male) |
| Thai | th-TH-PremwadeeNeural (female) |
Scripts
Located in src/skills/speak/scripts/:
| Script | Purpose |
|---|---|
speak.ts |
Main TTS script |
Run Script
cd src/skills/speak/scripts
bun speak.ts "Text to speak"
bun speak.ts --thai "ภาษาà¹à¸à¸¢"
bun speak.ts --list
Requirements
- edge-tts:
pip install edge-tts(optional, for high-quality voices) - macOS say: Built-in (fallback)
How It Works
- Check if edge-tts is available
- If yes: Use edge-tts with neural voice
- If no: Fall back to macOS
saycommand - Play audio through default output
Examples
# Speak Gemini response
/speak "The answer is 42"
# Thai greeting
/speak --thai "สวัสà¸à¸µà¸à¸£à¸±à¸ ยิà¸à¸à¸µà¸à¹à¸à¸à¸£à¸±à¸"
# British accent
/speak --voice "en-GB-RyanNeural" "Brilliant!"
# List all voices
/speak --list