Represents the resource of an audio asset.
Create a new Sound instance.
If the Web Audio API is supported, pass an AudioBuffer object, otherwise an Audio object.
If the Web Audio API is not supported this contains the audio data.
If the Web Audio API is supported this contains the audio data.
Gets the duration of the sound. If the sound is not loaded it returns 0.
Represents the resource of an audio asset.