The destination node to connect AudioBufferSourceNode AudioBufferSourceNodes to.
Protected Readonly channelsAll sounds played on a channel.
Readonly nodeThe destination node to connect AudioBufferSourceNode AudioBufferSourceNodes to. In the case of a SoundSource, this will be the panner node.
Protected Readonly soundsAll free sounds (those not played on a channel).
Protected createCreates an AudioBufferSourceNode and adds an "ended" event listener to its node.
The buffer to play.
Optional options: PlayOptionsThe options to apply on playback.
The new AudioBufferSourceNode.
Protected onWill be called when an AudioBufferSourceNode ended.
The AudioBufferSourceNode node that ended.
Play an audio buffer.
The buffer to play.
Optional options: PlayOptionsThe options to apply on playback.
A new AudioBufferSourceNode.
Play an audio buffer on a channel. If an AudioBufferSourceNode is already running on the specified channel, it will be stopped first.
The channel to play the buffer on.
The buffer to play.
Optional options: PlayOptionsThe options to apply on playback.
A new AudioBufferSourceNode.
Use this to play sounds. If you want to position your sounds, use a SoundSource instead.