Edge Tts Cantonese

v1.0.0

Generate Cantonese TTS audio in OGG format using Microsoft Edge TTS for voice replies on WhatsApp and Telegram with adjustable tone styles.

0· 114· 1 versions· 1 current· 1 all-time· Updated 11h ago· MIT-0
byGabriel@skglau

Install

openclaw skills install edge-tts-cantonese

Edge TTS Cantonese Voice Skill

Use Microsoft Edge TTS to generate natural Cantonese voice audio for WhatsApp and Telegram.

Voice Parameters

  • Voice: zh-HK-HiuMaanNeural
  • Rate: varies by tone
  • Pitch: varies by tone

Tones

ToneRatePitchUse Case
normal+18%+8HzGeneral/neutral
slow+0%+8HzCalm/sad
fast+24%+8HzHappy/excited
angry+36%+12HzImpatient/angry

WhatsApp Script

# 只生成 OGG(適合 WhatsApp voice note)
/home/gabriel/.openclaw/workspace/scripts/edge-tts-voice-ogg.sh "你今日好嗎?" normal

# Slow/sad tone
/home/gabriel/.openclaw/workspace/scripts/edge-tts-voice-ogg.sh "我好傷心..." slow

# Fast/happy tone
/home/gabriel/.openclaw/workspace/scripts/edge-tts-voice-ogg.sh "好開心呀!" fast

# Angry/impatient tone
/home/gabriel/.openclaw/workspace/scripts/edge-tts-voice-ogg.sh "你到底聽唔聽我講?" angry

腳本輸出 OGG 路徑,然後可用 WhatsApp 發送命令(例如你現有腳本)傳送。

Trigger Phrases

  • "語音回應"
  • "讀俾我聽"
  • "用廣東話讀"
  • "voice reply"

Output

  • OGG/Opus format ready for WhatsApp / Telegram

Telegram Send Script

/home/gabriel/.openclaw/workspace/scripts/edge-tts-telegram.sh <chat_id> "你段文字" normal

Example:

/home/gabriel/.openclaw/workspace/scripts/edge-tts-telegram.sh 8474074290 "主人,我係小蝦。" fast

Version tags

latestvk977zbpywh90paav0c5tehbe3183kgbv