sherpa-onnx-tts

Synthesize plain text into WAV audio using a local sherpa-onnx runtime.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/RobbyMo81/assistantrobby --skill sherpa-onnx-tts-robbymo81
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/RobbyMo81/assistantrobby/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/RobbyMo81/assistantrobby --skill sherpa-onnx-tts-robbymo81

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a private, low-latency text-to-speech solution that runs entirely offline so users and applications can synthesize natural-sounding speech without sending data to cloud services.

Core Features & Use Cases

  • Local runtime wrapper: A small Node.js CLI wrapper that locates the sherpa-onnx native runtime and voice model, sets library paths, and invokes the offline binary to produce WAV output.
  • Cross-platform support: Installation and runtime guidance for macOS, Linux, and Windows with environment variable configuration and downloadable runtime/model artifacts.
  • Use Cases: Generate TTS for accessibility, local assistants, batch audio generation, or any app that requires offline speech synthesis and data privacy.

Quick Start

Run the sherpa-onnx-tts wrapper to synthesize "Hello from local TTS" into a tts.wav file using your installed runtime and 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 generate speech from text locally without using cloud services?

You can generate speech locally without cloud services by using an offline text-to-speech wrapper that invokes a native runtime to synthesize plain text into WAV audio files, ensuring data privacy and low latency.

Can I use offline text-to-speech for batch audio generation on macOS, Linux, and Windows?

Yes, offline text-to-speech supports batch audio generation across macOS, Linux, and Windows. The cross-platform runtime utilizes environment variable configuration and downloadable model artifacts to produce WAV output locally.

Do I need a specific voice model to synthesize WAV audio with an offline TTS runtime?

Yes, you need a compatible voice model to synthesize WAV audio. The local runtime requires environment variables or command-line flags pointing to both the native runtime and the specific model directories to function correctly.

What is the best way to build a local assistant with offline speech synthesis?

The best way to build a local assistant with offline speech synthesis is to run a Node.js CLI wrapper that configures library paths and invokes a native offline binary, generating private WAV audio output without sending data to cloud services.

Why does my local TTS wrapper fail to locate the native runtime?

Your local TTS wrapper fails to locate the native runtime if environment variables or command-line flags are not correctly set to point to the installed runtime and model directories, preventing the offline binary from executing.