flutter_kitten_tts 0.0.4
flutter_kitten_tts: ^0.0.4 copied to clipboard
KittenTTS v0.8 - High-quality offline text-to-speech for Flutter using KittenML's ONNX model.
Changelog #
All notable changes to this project will be documented in this file.
0.0.4 #
- Removed
dependency_overridesfrom pubspec.yaml so the package uses normal dependency resolution (recommended for published packages; avoids pub validation hints).
0.0.3 #
- Removed
dependency_overridesfrom pubspec.yaml so the package uses normal dependency resolution (recommended for published packages; avoids pub validation hints).
0.0.2 #
- Dependency updates.
0.0.1 #
- Initial release of KittenTTS Flutter plugin.
- KittenTTS v0.8 ONNX model support with espeak-ng phonemization.
- Offline text-to-speech: model, voices, and espeak-ng data downloaded and cached on first run.
- Eight built-in voices: Bella, Jasper, Luna, Bruno, Rosie, Hugo, Kiki, Leo.
- Configurable speed; sentence-aware chunking with automatic token-length guard (max 500 tokens).
- iOS / macOS: Native espeak-ng built via CocoaPods; Swift bridge to retain C symbols for Dart FFI.
- Android: Native espeak-ng built via CMake from
third_party/espeak-ng(runscripts/setup_espeak.shfirst).- Support for both legacy (
speak_lib.c) and current (speech.c) espeak-ng source layouts. config.hprovided for Android (PACKAGE_VERSION, PATH_ESPEAK_DATA, USE_* defines).- sPlayer.c excluded when USE_SPEECHPLAYER=0 to avoid missing speechPlayer.h.
- Support for both legacy (
- Public API:
KittenTTS,initialize(),generate(),generateChunk(),splitText(),kittenVoices,ModelManager.