WSound is a value class to play a sound effect. It provides a way to play an MP3 sound asynchronously (if the browser supports this). It is intended as a simple way to play event sounds (not quite a media center).
WSound class uses a
WMediaPlayer to play the sound (using
<audio> or a flash player).
The following example creates a beep sound that will be repeated 3 times.