Generate speech from text with adjustable speed
Voice Clone Multilingual TTS
V1.0Convert any Ebook to AudioBook with Xtts + VoiceCloning!
Accessibility PDF & pasted text to speech converter w/ gTTs
Generate realistic voices from text
Text to Audio (Sound SFX) Generator
Identify speakers in an audio file
Listen and respond to voice commands in Spanish
SText to Audio(Sound SFX) Generator
Generate audiobooks giving each character a unique voice
✨[With v1.0.0] Accelerated TTS on Kokoro-82M
Generate edited English speech from audio and text
WebAssembly English Text-to-Speech (TTS) using sherpa-onnx is a powerful tool that converts text into natural-sounding speech. It leverages the WebAssembly (WASM) platform for high-performance execution and is optimized for cross-platform compatibility. sherpa-onnx is designed to generate high-quality English speech synthesis with adjustable speed settings, making it suitable for a wide range of applications, from web-based interfaces to standalone desktop tools.
• Adjustable Speed: Users can control the speed of the generated speech to suit their preferences.
• High Performance: Built with WebAssembly, ensuring fast and efficient speech synthesis.
• Cross-Platform Compatibility: Runs on multiple platforms, including web browsers, desktop, and mobile environments.
• Lightweight: Optimized for low-resource consumption, making it ideal for real-time applications.
npm install @mailchimp/sherpa-onnx
import { Speaker } from '@mailchimp/sherpa-onnx';
const speaker = new Speaker();
speak()
method.
speaker.speak('Hello, world!');
speechRate
property.
speaker.speechRate = 1.5; // Speeds up the speech by 50%
What platforms does WebAssembly English TTS support?
WebAssembly English TTS (sherpa-onnx) supports all major platforms, including Windows, macOS, Linux, and web browsers that support WebAssembly.
Can I adjust the speed of the generated speech?
Yes, you can adjust the speech rate using the speechRate
property. For example, setting it to 1.5 will speed up the speech by 50%.
Is the sherpa-onnx library suitable for real-time applications?
Yes, sherpa-onnx is optimized for low latency and high performance, making it ideal for real-time applications such as voice assistants or interactive web interfaces.
How do I integrate sherpa-onnx into my web application?
You can integrate sherpa-onnx by importing the library and initializing the speaker as shown in the usage section. Ensure you have the necessary dependencies installed.
What are the system requirements for using sherpa-onnx?
sherpa-onnx requires a system that supports WebAssembly. Most modern browsers and operating systems meet this requirement.
Can I use sherpa-onnx for commercial purposes?
Yes, sherpa-onnx is available under a permissive license, allowing for both personal and commercial use.