AIC. - Artificial Intelligence Command

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC. - Artificial Intelligence Command

AIC.RecordSync

Top


MiniRobotLanguage (MRL)

 

AIC.RecordSync

Record audio synchronously

 

Intention

 

The AIC.RecordSync command starts synchronous audio recording for speech-to-text conversion. The recording continues until stopped and is then sent to OpenAI's Whisper API for transcription.

 

Syntax

 

AIC.RecordSync[|$$RetVar]

 

P1 - $$RetVar (optional) - Variable to store the transcribed text

 

Example

 

' Record audio synchronously

AIC.RecordSync|$$Transcript

DBP.$$Transcript

 

Related Commands

 

- AIC.RecordSyncButton - Record with button control

- AIC.Recording - Check recording status