PlaySound
From UBot Studio
(Difference between revisions)
Line 14: | Line 14: | ||
The command will run until the audio file is finished playing. | The command will run until the audio file is finished playing. | ||
− | [[File: | + | [[File:playsoundcomm.jpg]] |
Latest revision as of 20:43, 21 June 2017
This command plays a specified sound file. The command is an Audio command.
Audio File: The audio file being played.
[edit] Example
playSound("C:\\Users\\Downloads\\sample.wav")
Running the script will play the selected sound file. The files can be .mp3, .flac, .wav and .wma.
The command will run until the audio file is finished playing.