Loading...
Loading...
Text-to-speech using edge-tts or macOS say. Use when user says "speak", "say", "read aloud", or wants text spoken.
npx skill4agent add soul-brews-studio/oracle-skills-cli speaksay/speak "Hello world" # Default English voice
/speak --thai "สวัสดีครับ" # Thai voice
/speak --voice "en-GB-RyanNeural" "Hi" # Specific voice
/speak --mac "Hello" # Force macOS say| Option | Description |
|---|---|
| Use Thai voice (th-TH-NiwatNeural) |
| Use female voice |
| Specific edge-tts voice |
| Force macOS say command |
| Speech rate (edge-tts: +/-50%, mac: 100-300) |
| List available voices |
| Language | Voice |
|---|---|
| English | en-US-GuyNeural (male) |
| English | en-US-JennyNeural (female) |
| Thai | th-TH-NiwatNeural (male) |
| Thai | th-TH-PremwadeeNeural (female) |
src/skills/speak/scripts/| Script | Purpose |
|---|---|
| Main TTS script |
cd src/skills/speak/scripts
bun speak.ts "Text to speak"
bun speak.ts --thai "ภาษาไทย"
bun speak.ts --listpip install edge-ttssay# 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