Expand description
Text-to-Speech (TTS) Plugin Module
Provides TTS capabilities using a generic TTS engine interface. This module is designed to work with multiple TTS backends.
Note: The Kokoro TTS integration is currently prepared but commented out due to compatibility issues with the ort (ONNX Runtime) dependency. The plugin structure is ready for use with any TTS backend.
Modules§
- cache
- Model Cache Management
- model_
downloader - Hugging Face Model Downloader
Structs§
- Audio
Playback Config - Audio playback configuration
- MockTTS
Engine - A mock TTS engine for testing and development.
- TTSCommand
- TTS command structure for execute()
- TTSPlugin
- TTS Plugin implementing AgentPlugin
- TTSPlugin
Config - TTS plugin configuration
- Text
ToSpeech Tool - Text-to-Speech tool executor
- Voice
Info - Voice metadata information
Traits§
- TTSEngine
- Abstract TTS engine trait for extensibility
Functions§
- play_
audio - Play audio data synchronously (fallback when rodio feature is not enabled)
- play_
audio_ async - Play audio asynchronously