The url of the audio file
The pan of the audio.
The pitch of the audio.
[read-only] The url of the audio file.
The volume of the audio.
Add a callback function that will be called when the audio data is loaded.
The callback function
Add a callback function that will be called when the playback is stopped.
The callback function
Clears the audio data.
Performs the audio fade-in.
Fade-in time in seconds
Performs the audio fade-out.
Fade-out time in seconds
Checks whether a loading error has occurred.
True if a loading error has occurred
Checks whether the audio is playing.
True if the audio is playing
Checks whether the audio data is ready to play.
True if the audio data is ready to play
Plays the audio.
Whether the audio data play in a loop
The start position to play in seconds
Gets the seek position of the audio.
Stops the audio.
Checks whether the browser can play m4a files.
True if the browser can play m4a files
Checks whether the browser can play ogg files.
True if the browser can play ogg files
Initializes the audio system.
Flag for the no-audio mode
True if the audio system is available
Generated using TypeDoc
The audio object of Web Audio API.
WebAudio