Base Service Classes
Speech Service
Base implementations for speech-to-text and text-to-speech services
STTService
Base class for Speech-to-Text services.
Constructor Parameters
Whether to pass through audio frames
Methods
Sets the STT model.
Sets the recognition language.
TTSService
Base class for Text-to-Speech services.
Constructor Parameters
Output audio sample rate in Hz
Text filter for preprocessing
Methods
Sets the TTS model.
Sets the voice identifier.
Converts text to speech immediately.