sherpa-onnx-tts

Generate local speech audio from text using sherpa-onnx voice models.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/victor-brechbill/claw-kernel --skill sherpa-onnx-tts-victor-brechbill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/victor-brechbill/claw-kernel/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/victor-brechbill/claw-kernel --skill sherpa-onnx-tts-victor-brechbill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables local, offline text-to-speech conversion, eliminating the need for cloud-based services and ensuring privacy and accessibility.

Core Features & Use Cases

  • Local TTS Engine: Utilizes the sherpa-onnx library for speech synthesis directly on your machine.
  • Offline Operation: Functions without an internet connection, ideal for environments with limited connectivity or for enhanced data security.
  • Customizable Voices: Supports various voice models, allowing you to choose different speech characteristics.
  • Use Case: Generate audio files for presentations, accessibility tools, or voice alerts without relying on external APIs, ensuring consistent performance and cost control.

Quick Start

Use the sherpa-onnx-tts skill to convert the text "Hello from local TTS." into an audio file named tts.wav.

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 audio locally without an internet connection?

Offline text-to-speech synthesis can be performed using the sherpa-onnx runtime to convert text into audio files directly on your machine. This ensures privacy and consistent performance without relying on cloud-based APIs.

What environment variables do I need to set up for local TTS?

Local TTS operation requires setting the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. These paths point the sherpa-onnx engine to its execution runtime and voice models.

Can I use custom voice models for offline speech synthesis?

Yes, offline speech synthesis supports various customizable voice models. You can configure different speech characteristics by providing the appropriate model files in your SHERPA_ONNX_MODEL_DIR directory.

What is the best way to generate audio alerts for privacy-sensitive applications?

Using local text-to-speech synthesis is the best way to generate audio alerts for privacy-sensitive applications. It processes data entirely offline, ensuring no text is transmitted to external cloud services.

Does offline TTS work for generating presentation audio files without external APIs?

Yes, offline TTS works for generating presentation audio files without external APIs. The local synthesis engine outputs audio files like tts.wav, ensuring consistent performance and avoiding cloud service dependencies.