sherpa-onnx-tts

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

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

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 Engine: Utilizes the sherpa-onnx library for on-device speech synthesis.
  • Offline Capability: Functions without an internet connection, ideal for sensitive environments or areas with poor connectivity.
  • Multiple Voice Models: Supports various voice models for different speaking styles and languages.
  • Use Case: Generate audio pronunciations for application interfaces, create voiceovers for local presentations, or provide spoken feedback in an offline application.

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 text-to-speech audio offline?

To generate text-to-speech audio offline, this Skill uses the sherpa-onnx runtime and pre-downloaded voice models to perform local speech synthesis, creating audio files without any cloud dependencies.

Does local TTS work without an internet connection?

Yes, local TTS works completely offline. This Skill performs on-device speech synthesis using pre-downloaded models, ensuring functionality in sensitive environments or areas with poor connectivity without requiring cloud services.

How do I configure voice models for sherpa-onnx speech synthesis?

To configure voice models for sherpa-onnx speech synthesis, you must set specific runtime and model directories using environment variables or flags, allowing the local TTS engine to locate and load the appropriate voice files.

Can I use local text-to-speech to generate audio files for application interfaces?

Yes, you can use local text-to-speech to generate audio files for application interfaces. This Skill creates spoken feedback and audio pronunciations locally, making it ideal for voiceovers and offline application integration.

What are the limitations of using pre-downloaded models for offline TTS?

A limitation of using pre-downloaded models for offline TTS is that you must manually acquire and configure specific runtime and model directories before synthesis, restricting spontaneous voice or language switching without prior model downloads.