|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.TranscribeText |
Top |
MiniRobotLanguage (MRL)
AIC.TranscribeText
Transcribe text from audio file
Intention
The AIC.TranscribeText command uses OpenAI's Whisper API to convert audio files to text. Supports multiple audio formats including MP3, WAV, M4A, and more.
Syntax
AIC.TranscribeText|$$AudioFile[|$$RetVar]
P1 - $$AudioFile - Path to the audio file to transcribe
P2 - $$RetVar (optional) - Variable to store the transcribed text
Example
' Transcribe an audio file
AIC.TranscribeText|C:\Audio\recording.mp3|$$Text
DBP.$$Text
' Transcribe and process
AIC.TranscribeText|$$AudioPath|$$Transcript
AIC.Ask|Summarize this: $$Transcript|$$Summary
Related Commands
- AIC.Record - Record audio
- AIC.CallWhisper - Whisper API call
- AIC.DictateText - Dictate/transcribe with options