sherpa-onnx-tts

Generate speech audio from text using sherpa-onnx TTS models.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/planetazuzu/planetazuzu-memory --skill sherpa-onnx-tts-planetazuzu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/planetazuzu/planetazuzu-memory/tree/main/skills/openclaws-kb/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/planetazuzu/planetazuzu-memory --skill sherpa-onnx-tts-planetazuzu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a local, offline text-to-speech (TTS) solution, eliminating the need for cloud-based services and ensuring privacy and accessibility.

Core Features & Use Cases

  • Local TTS: Generates speech from text directly on your machine.
  • Offline Functionality: Works without an internet connection.
  • Customizable Voices: Supports various voice models for different speech outputs.
  • Use Case: Convert meeting notes or generated reports into audio files for later review or accessibility, all without sending sensitive data to external servers.

Quick Start

Use the sherpa-onnx-tts skill to convert the text "This is a test of the local text to speech system." into an audio file named output.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 from text offline without sending data to the cloud?

Offline text-to-speech synthesis generates audio locally on your machine, eliminating cloud dependencies and ensuring data privacy. This skill uses the sherpa-onnx runtime to convert text into speech directly without an internet connection.

Do I need an internet connection to use local TTS for accessibility?

No, local text-to-speech works entirely offline without requiring an internet connection. Once configured, the sherpa-onnx runtime synthesizes speech directly on your machine, ensuring private audio generation for documentation and accessibility.

How do I set up the sherpa-onnx runtime for voice generation?

To set up the sherpa-onnx runtime for voice generation, you must configure two environment variables: SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR. These point the system to the necessary runtime files and voice models for synthesis.

Can I use custom voice models with local text-to-speech?

Yes, local text-to-speech supports customizable voices by utilizing various TTS models. You can swap the voice models loaded via the SHERPA_ONNX_MODEL_DIR environment variable to achieve different speech outputs for your audio generation.

What is the best way to convert meeting notes into an audio file locally?

The best way to convert meeting notes into an audio file locally is using offline text-to-speech synthesis. This process generates a WAV audio file directly from your text on your machine, allowing for private review without uploading sensitive data.

Why does my offline TTS setup fail to synthesize speech?

Offline TTS fails to synthesize speech if the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables are not set correctly. Ensure these paths accurately point to the sherpa-onnx runtime and your downloaded voice models.