mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-12-22 11:05:56 +00:00
Nolan Darilek
0d7ba71769
* Add ability to detect when speaking. Doesn't yet work under Linux or WinRT. * Add signal to indicate when speaking is done. * Refine screen reader detection under Android. |
||
---|---|---|
.github/workflows | ||
android/src/games/lightsout/godot/tts | ||
src | ||
.gitignore | ||
Cargo.toml | ||
godot-tts.gdnlib | ||
godot-tts.gdnlib.release | ||
godot-tts.gdns | ||
LICENSE | ||
README.md | ||
TTS.gd |
Godot TTS
This addon was primarily developed for the Godot Accessibility addon, but should work well in other contexts where a Godot game might require text-to-speech.
Supported Platforms
Text-to-speech is complicated, and some features may not work everywhere. Most optional features have an associated boolean property used to determine if the feature is available. Further, while I do attempt to ensure that this addon works as well as possible on all platforms, there may be bugs, and pull requests are welcome. Known supported platforms include:
- Windows
- Screen readers via Tolk
- Native WinRT
- Linux via Speech Dispatcher
- HTML 5
- Android
Features
- Speaking text, with interruption support on most platforms
- Stopping speech in progress
- Getting and setting speech rate in both native synthesizer units and percentages
- Detecting whether a screen reader is active
API
The public-facing API is contained entirely within TTS.GD.
Download
Download the latest release.