PLAY_SOUND
Description
PLAY_SOUND is a sound command that plays an audio file by name.
View all available sounds in the Asset Library's Sounds.
Syntax
PLAY_SOUND "audio_file_name"
Arguments
audio_file_name: audio file name as registered on the robot's database (do not include file extension)
Example
Input
PLAY_SOUND "shimmy"
DISPLAY "Your order has arrived!"
SLEEP 1
OPEN_LID
Output
Robot will play audio file "shimmy.mp3", then the screen will show "Your order has arrived!" for one second. Then, the robot's lid will open.
Resources
Explore the SaviScript GitHub repository for all published instances of this command.