sherpa-onnx-tts

Synthesize speech from text offline using sherpa-onnx and Piper models.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/jason9693/Open-Jordy --skill sherpa-onnx-tts-jason9693
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/jason9693/Open-Jordy/tree/main/openjordy/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/jason9693/Open-Jordy --skill sherpa-onnx-tts-jason9693

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local TTS capabilities in offline environments by sherpa-onnx, enabling speech synthesis without cloud services.

Core Features & Use Cases

  • Offline TTS using sherpa-onnx runtime and pre-trained voice models.
  • Multiplatform support (macOS, Linux, Windows) with simple setup and environment requirements.
  • Use case: private voice-enabled apps on desktops or embedded devices without network access.

Quick Start

Run the sherpa-onnx-tts wrapper to synthesize speech from text using your local model.

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 text-to-speech locally without cloud services?

Offline local TTS is achieved by running the sherpa-onnx runtime to synthesize speech directly on your device. This approach bypasses cloud services, requiring only local environment variables and a pre-trained voice model.

Does offline TTS work on macOS, Linux, and Windows?

Yes, offline TTS with sherpa-onnx supports macOS, Linux, and Windows. The setup includes install steps to download the runtime and a Piper en_US lessac model for multiplatform compatibility.

What do I need to set up before synthesizing speech with sherpa-onnx?

Before synthesizing speech, you need to set the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. The install steps automatically download the required sherpa-onnx runtime and Piper voice model.

When should I use local voice synthesis instead of cloud TTS?

Use local voice synthesis in privacy-sensitive environments or embedded-device workflows where cloud services are unavailable or undesirable. It provides private voice output for desktop or embedded devices without network access.

Can I use pre-trained voice models for offline text-to-speech?

Yes, offline TTS using sherpa-onnx supports pre-trained voice models. The setup includes downloading a Piper en_US lessac model to synthesize speech locally without requiring network connectivity.