sherpa-onnx-tts

Generate offline text-to-speech audio using sherpa-onnx and Piper voice models.

5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/JansenAnalytics/claudex --skill sherpa-onnx-tts-jansenanalytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/JansenAnalytics/claudex/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/JansenAnalytics/claudex --skill sherpa-onnx-tts-jansenanalytics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local TTS via sherpa-onnx enables offline voice synthesis without cloud dependencies, ideal for privacy and edge use cases.

Core Features & Use Cases

  • Offline text-to-speech synthesis using sherpa-onnx runtime and Piper voice models.
  • Local deployment across macOS, Linux, and Windows with simple wrappers.
  • Use cases include desktop accessibility, embedded systems, and apps requiring privacy.

Quick Start

Synthesize speech locally by calling the sherpa-onnx-tts wrapper with your 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 generate offline text-to-speech audio locally?

Generate offline text-to-speech audio locally by calling the sherpa-onnx-tts wrapper with your input text. The Skill uses the sherpa-onnx runtime and Piper voice models to synthesize speech without cloud dependencies.

What do I need to set up before running local TTS with sherpa-onnx?

Local TTS with sherpa-onnx requires setting the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. You must also download the corresponding sherpa-onnx runtime and model directories to your local machine.

Can I use offline text-to-speech on macOS, Linux, and Windows?

Offline text-to-speech works across macOS, Linux, and Windows. The Skill provides simple wrappers for local deployment on these operating systems, making it suitable for desktop apps, embedded systems, and edge devices.

When should I use offline text-to-speech instead of cloud-based TTS?

Use offline text-to-speech when privacy is critical or for edge use cases without internet connectivity. Local TTS via sherpa-onnx eliminates cloud dependencies, making it ideal for desktop accessibility tools and embedded systems.

What voice models are supported for offline speech synthesis?

Offline speech synthesis uses Piper voice models with the sherpa-onnx runtime. These models generate local voice audio from input text, requiring the model files to be downloaded and configured in the SHERPA_ONNX_MODEL_DIR directory.

Why is my sherpa-onnx local TTS not working?

Local TTS not working often indicates missing environment variables or directories. Ensure SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR are correctly set and that the corresponding runtime and Piper model directories are properly downloaded.