sherpa-onnx-tts
Local text-to-speech via sherpa-onnx (offline, no cloud)
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- sherpa-onnx-tts
- metadata
- { "openclaw": { "os": [ "darwin", "linux", "win32" ], "emoji": "🗣️", "install": [ { "id": "download-runtime-macos", "os": [ "darwin" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-osx-universal2-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (macOS)", "archive": "tar.bz2", "extract": true, "targetDir": "runtime", "stripComponents": 1 }, { "id": "download-runtime-linux-x64", "os": [ "linux" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-linux-x64-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (Linux x64)", "archive": "tar.bz2", "extract": true, "targetDir": "runtime", "stripComponents": 1 }, { "id": "download-runtime-win-x64", "os": [ "win32" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-win-x64-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (Windows x64)", "archive": "tar.bz2", "extract": true, "targetDir": "runtime", "stripComponents": 1 }, { "id": "download-model-lessac", "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-lessac-high.tar.bz2", "kind": "download", "label": "Download Piper en_US lessac (high)", "archive": "tar.bz2", "extract": true, "targetDir": "models" } ], "requires": { "env": [ "SHERPA_ONNX_RUNTIME_DIR", "SHERPA_ONNX_MODEL_DIR" ] } } }
- description
- Local text-to-speech via sherpa-onnx (offline, no cloud)
03 SKILL.md 正文
sherpa-onnx-tts
Local TTS using the sherpa-onnx offline CLI.
Install
- Download the runtime for your OS (extracts into
~/.openclaw/tools/sherpa-onnx-tts/runtime) - Download a voice model (extracts into
~/.openclaw/tools/sherpa-onnx-tts/models)
Update ~/.openclaw/openclaw.json:
{
skills: {
entries: {
"sherpa-onnx-tts": {
env: {
SHERPA_ONNX_RUNTIME_DIR: "~/.openclaw/tools/sherpa-onnx-tts/runtime",
SHERPA_ONNX_MODEL_DIR: "~/.openclaw/tools/sherpa-onnx-tts/models/vits-piper-en_US-lessac-high",
},
},
},
},
}
The wrapper lives in this skill folder. Run it directly, or add the wrapper to PATH:
export PATH="{baseDir}/bin:$PATH"
Usage
{baseDir}/bin/sherpa-onnx-tts -o ./tts.wav "Hello from local TTS."
Notes:
- Pick a different model from the sherpa-onnx
tts-modelsrelease if you want another voice. - If the model dir has multiple
.onnxfiles, setSHERPA_ONNX_MODEL_FILEor pass--model-file. - You can also pass
--tokens-fileor--data-dirto override the defaults. - Windows: run
node {baseDir}\\bin\\sherpa-onnx-tts -o tts.wav "Hello from local TTS."
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.