TsgcAIOpenAIChatBotEvents › OnAudioStop

OnAudioStop Event

Fires after microphone capture stops and before transcription is sent to Whisper.

Syntax

__property TsgcOpenAIAudioStop OnAudioStop;
// typedef void __fastcall (__closure *TsgcOpenAIAudioStop)(TObject * Sender);

Default Value

Remarks

Raised once AudioRecorder.Stop has finalised the audio file. It is the last chance to inspect the raw recording before it is uploaded to Whisper for transcription. Use it to hide the “listening” indicator, show a “thinking” spinner, or copy the audio file for archival.

Example

Back to Events