|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.CallWhisper |
Top |
MiniRobotLanguage (MRL)
AIC.CallWhisper
Whisper Speech-to-Text (STT)
Intention
The AIC.CallWhisper command transcribes audio to text using OpenAI's Whisper model. It converts speech in audio files to written text with high accuracy.
Syntax
AIC.CallWhisper|$$AudioPath[|$$RetVar]
P1 - $$AudioPath - Path to audio file (MP3, WAV, M4A, etc.)
P2 - $$RetVar (optional) - Variable to store transcription
Example
' Transcribe audio file
AIC.CallWhisper|C:\Audio\recording.mp3|$$Text
DBP.$$Text
' Set language for better accuracy
AIC.SetLanguage|de
AIC.CallWhisper|C:\Audio\german.mp3|$$Transcript
Supported Formats
MP3, WAV, M4A, FLAC, OGG, WebM, MP4, MPEG, MPGA
Related Commands
- AIC.CallWhisperUnicode - Unicode support
- AIC.Record - Record audio
- AIC.AskTTS - Text-to-Speech