
The Sound object provides operations that allow the playback of sounds. Some sample sounds are provided along with the library.
PlayClickPlays the Click Sound.
PlayClickAndWaitPlays the Click Sound and waits for it to finish.
PlayChimePlays the Chime Sound.
PlayChimeAndWaitPlays the Chime Sound and waits for it to finish.
PlayChimesPlays the Chimes Sound.
PlayChimesAndWaitPlays the Chimes Sound and waits for it to finish.
PlayBellRingPlays the Bell Ring Sound.
PlayBellRingAndWaitPlays the Bell Ring Sound and waits for it to finish.
PlayMusicPlays musical notes.
PlayPlays the Click Sound.
PlayAndWaitPlays 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.
PausePauses playback of an audio file. If the file was not already playing, this operation will not do anything.
StopStops playback of an audio file. If the file was not already playing, this operation will not do anything.