The Sound object provides operations that allow the playback of sounds. Some sample sounds are provided along with the library.
Plays the Click Sound.
Plays the Click Sound and waits for it to finish.
Plays the Chime Sound.
Plays the Chime Sound and waits for it to finish.
Plays the Chimes Sound.
Plays the Chimes Sound and waits for it to finish.
Plays the Bell Ring Sound.
Plays the Bell Ring Sound and waits for it to finish.
Plays musical notes.
Plays an audio file and waits until it is finished playing. This could be an mp3 or wav or wma file. Other file formats may or may not play depending on the audio codecs installed on the user's computer. If the file was already paused, this operation will resume from the position where the playback was paused.
Pauses playback of an audio file. If the file was not already playing, this operation will not do anything.
Stops playback of an audio file. If the file was not already playing, this operation will not do anything.