sherpa-onnx-tts

Synthesize speech from text to WAV files using the sherpa-onnx offline CLI.

5|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill sherpa-onnx-tts-p-sree-sai-pavan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/p-sree-sai-pavan/P.A.R.K.E.R/tree/main/gateway/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill sherpa-onnx-tts-p-sree-sai-pavan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech synthesis without cloud reliance, enabling private and offline voice playback.

Core Features & Use Cases

  • Local TTS using sherpa-onnx offline CLI for privacy-preserving voice generation.
  • Cross-platform support with a simple wrapper to synthesize speech from text.
  • Use cases include embedded assistants, batch audio creation, and demos in air-gapped environments.

Quick Start

Install the sherpa-onnx runtime and model, configure SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables, and run the wrapper to synthesize speech to a WAV file.

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 cloud reliance?▼

Offline text-to-speech synthesis is achieved locally by using the sherpa-onnx offline CLI, which generates private voice playback without requiring an internet connection.

Does local TTS with sherpa-onnx support cross-platform usage on Windows, macOS, and Linux?▼

Yes, local TTS with sherpa-onnx supports cross-platform usage across Windows, macOS, and Linux through a provided wrapper that handles environment configuration and executable execution.

What do I need to configure before synthesizing speech with a local TTS runtime?▼

Before synthesizing speech, you must set the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables to point to your pre-downloaded runtime and voice model directories.

Can I use offline TTS for batch audio creation in air-gapped environments?▼

Yes, you can use offline TTS for batch audio creation in air-gapped environments because the local synthesis process operates entirely without cloud connectivity.

How does the wrapper script produce a WAV file from input text?▼

The wrapper adds the executable to PATH and runs the sherpa-onnx offline CLI, directly converting your input text into a synthesized WAV file locally.

What is the best way to generate private voice playback for an embedded assistant?▼

The best way to generate private voice playback for an embedded assistant is using local TTS via the sherpa-onnx offline CLI, ensuring data privacy and no network dependency.