TRVAudioPlayer.OnSpeechRecognized

<< Click to display table of contents >>

TRVAudioPlayer.OnSpeechRecognized

Occurs when a fragment of text from speech is recognized.

property OnSpeechRecognized: TRVSpeechToTextEvent;

See details in SpeechToTextProperty: TRVFFmpegSpeechToTextProperty property.

Speech recognition requires FFmpeg 8+ with integrated Whisper model, and a model file specified in SpeechToTextProperty.ModelFileName property. UseFFmpeg must be True.

Warning: This event is called in the context of a background thread. You cannot interact with the user interface in this event.