audio-tts

v2026.09.25

When the user wants text-to-speech audio → generate voice files locally (macOS say + afconvert, outputs m4a).

GitHub
Install command
npx skhub add cklxx/audio-tts
Markdown
SKILL.md

audio-tts

使用 macOS 自带 say 生成语音,并转成 m4a。

Requirements

  • macOS(内置 say)
  • afconvert(macOS 自带)

Usage

python3 skills/audio-tts/run.py speak --text '你好,这是语音测试'

Parameters

speak

参数类型必填说明
textstring是朗读文本
voicestring否voice 名称(如 Ting-Ting / Samantha),默认空(系统默认)
rateint否语速 WPM(say 的 -r 参数)
outputstring否输出路径(默认 /tmp/tts_<ts>.m4a)
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

skills/audio-tts

Default branch

main

Latest commit

bc94628

Tree SHA

f9fa2e7