sherpa-onnx-tts

Generate offline speech from text using sherpa-onnx across macOS, Linux, and Windows.

4|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/bitan-del/gods-eye --skill sherpa-onnx-tts-bitan-del
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/bitan-del/gods-eye/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/bitan-del/gods-eye --skill sherpa-onnx-tts-bitan-del

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech generation on-device using sherpa-onnx, enabling offline operation without cloud dependencies and preserving privacy.

Core Features & Use Cases

  • Offline TTS: Generate natural-sounding speech without internet access.
  • Platform Support: Works on macOS, Linux, and Windows with a lightweight wrapper.
  • Model & Runtime Management: Handles runtime and model paths via environment variables or flags for reproducible on-device voice synthesis in apps and assistants.

Quick Start

Install the sherpa-onnx runtime and Piper voice model, configure SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR, and run the wrapper to synthesize audio from text.

Frequently Asked Questions about sherpa-onnx-tts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run offline text-to-speech synthesis locally without internet access?

You can run offline text-to-speech synthesis locally by using the sherpa-onnx runtime and a Piper voice model, configuring the runtime and model directories, and invoking the wrapper to generate speech from text.

Does sherpa-onnx TTS work on macOS, Linux, and Windows for local voice synthesis?

Yes, sherpa-onnx TTS works on macOS, Linux, and Windows, providing a lightweight wrapper that enables on-device voice synthesis across these platforms.

How do I configure model and runtime directories for on-device text-to-speech?

You configure on-device text-to-speech directories by setting the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables or using flags to specify the sherpa-onnx runtime and model paths.

What is the best way to generate natural-sounding speech from text without cloud dependencies?

The best way to generate speech from text without cloud dependencies is using offline on-device text-to-speech synthesis with sherpa-onnx, which preserves privacy by operating entirely locally.

Do I need to install specific runtime files before using local TTS for offline operation?

Yes, you need to install the sherpa-onnx runtime and a Piper voice model, then configure the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables before invoking the TTS wrapper.