Class: WebAudioMedia

webaudio.WebAudioMedia

Represents a single sound element. Can be used to play, pause, etc. sound instances.

new webaudio.WebAudioMedia

Implements

Members

buffer AudioBuffer

Gets and sets the buffer.

Get the current chained nodes object

parent Sound readonly

Reference to the parent Sound container.

source ArrayBuffer | AudioBuffer readonly

The file buffer to load.

Methods

destroy () void

Destructor, safer to use SoundLibrary.remove(alias) to remove this sound.

init (parent) void

Re-initialize without constructing.

Name Type Description
parent Sound
  • Instance of parent Sound container