跳至主要内容
小龙虾小龙虾AI
🤖

Mac TTS

Text-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.

下载7.2k
星标2
版本1.0.0
商业运营
安全通过

技能说明


name: mac-tts description: Text-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.

mac-tts

Use macOS built-in say command for text-to-speech output through system speakers.

Basic Usage

say "Hello, this is a test"

With Voice Selection

say -v "Meijia" "你好,這是測試"      # 台灣中文 (推薦)
say -v "Tingting" "你好,这是测试"    # 簡體中文
say -v "Samantha" "Hello world"       # 英文

Common Chinese Voices (zh_TW)

VoiceDescription
Meijia美佳 - 自然女聲 (推薦)
Flo年輕女聲
Eddy男聲
Reed男聲
Sandy女聲
Shelley女聲

List All Available Voices

say -v "?"                           # 全部語音
say -v "?" | grep zh_TW              # 只列台灣中文

Volume Control

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"

Use Cases

  • 通知: say -v "Meijia" "外送到了"
  • 提醒: say -v "Meijia" "會議即將開始"
  • 警告: say -v "Meijia" "注意,有新的緊急訊息"

Notes

  • Runs synchronously (blocks until speech completes)
  • Add & for async: say "message" &
  • Works only on macOS

如何使用「Mac TTS」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Mac TTS技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能