← 返回
效率工具

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.
使用 macOS 内置 `say` 命令进行文字转语音,适用于语音通知、声音提醒、朗读文本或通过 Mac 扬声器播报。支持多种语言,包括中文(普通话)、英语、日语等。
kalijason
效率工具 clawhub v1.0.0 1 版本 98878.2 Key: 无需
★ 3
Stars
📥 6,815
下载
💾 592
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 09:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,101
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,162
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 429 📥 103,686