|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.PlayMP3 |
Top |
MiniRobotLanguage (MRL)
AIC.PlayMP3
DESCRIPTION
Intention
Plays an MP3 audio file using the system's default audio player. This command is useful for playing AI-generated voice responses, audio confirmations, or notification sounds. Supports both synchronous and asynchronous playback modes.
Syntax
AIC.PlayMP3|filepath,wait
Example
' Play TTS audio response
AIC.PlayMP3|"response.mp3",0
' Play and wait for completion
AIC.PlayMP3|"intro.mp3",1