Expand description

Package speech provides functionality for speech recognizers along with their related configuration and event objects.

Structs

AudioDataStream represents audio data retrieved either from file or result of speech synthesis. Represents convenient option for manipulating and storing of syntehtized audio data Added in version 1.17.0

AutoDetectSourceLanguageConfig defines auto detection source configuration

CancellationDetails contains detailed information about why a result was canceled. Added in version 1.17.0

Class that defines embedded (offline) configurations for speech recognition and speech synthesis. This is currently a preview of the API. The functionality is not available in public releases. Added in version 1.19.0

KeywordRecognitionModel represents the keyword recognition model used with start_keyword_recognition_async methods.

Recognition event extending SessionEvent passed into callbacks set_speech_start_detected_cb and set_speech_end_detected_cb.

Base SpeechRecognizer event passed into callbacks set_session_started_cb and set_session_stopped_cb.

SpeechConfig is the class that defines configurations for speech / intent recognition, or speech synthesis.

Recognition event extending SpeechRecognitionEvent passed into callback set_canceled_cb.

Recognition event extending RecognitionEvent passed into callbacks set_recognizing_cb and set_recognized_cb.

Represents speech recognition result contained within callback event SpeechRecognitionEvent.

SpeechRecognizer struct holds functionality for speech-to-text recognition.

Event passed into speech synthetizer’s callback set_synthesizer_bookmark_cb.

Event passed into speech synthetizer callbacks.

Represents speech synthetis result contained in SpeechSynthesisEvent callback event.

Event passed into speech synthetizer’s callback set_synthesizer_viseme_cb.

Event passed into speech synthetizer’s callback set_synthesizer_word_boundary_cb.

SpeechSynthesizer struct holds functionality for text-to-speech synthesis.