AbstractOptionalcleanupClean up resources used by the STT engine. Optional method for backends that need to release resources.
AbstractinitializeAbstracttranscribeTranscribe audio from a microphone stream.
The readable stream from the microphone
Configuration options for transcription
The transcribed text
Abstract base class for speech-to-text engines. Implementations must extend this class and implement initialize() and transcribe().