TTSAccessibility
Speech Synthesis
Give your application a voice with text-to-speech capabilities.
Speaking
Use the `speak()` method to convert text to audio. This is useful for feedback, accessibility, or conversational interfaces.
javascript
1// Basic
2voice.speak('Hello, how are you?');
3
4// Different Language
5voice.speak('Hola amigo', 'es-ES');Customizing Voices
You can change the pitch, rate, and voice profile through global options or per-call (if extended in future versions).
Try it now
Demo functionality coming soon to this docs page.
Best Practices
- Use for confirming actions ("Deleted item").
- Keep messages short and concise.
- Respect user's system volume settings.