Application icon

Play System Sound

As the name implies, this function plays the specified system sound. The available sounds are extracted from /System/Library/Sounds.

Beep represents the alert sound configured in System Settings - Sound.

Runtime is a special setting which implies the sound should be extracted from the full path of an audio file in named variable Play Sound Path. Alternately, the Play Sound Path named variable can contain any of the sounds displayed in the menu. If for any reason the file or specified sound cannot be loaded or played, a beep will be emitted.

The Play button can be used to preview the sound. The duration of the play time is restricted to 5 seconds.

This statement always terminates any currently playing sound started by a previous call.