The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
Is an AudioBuffer that defines the audio asset to be played, or when set to the value null, defines a single channel of silence.
Represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
Represents an enumerated value describing the way channels must be matched between the node's inputs and outputs.
Represents an enumerated value describing the meaning of the channels.
Allows us to connect one output of this node to one input of an audio parameter.
Allows us to connect one output of this node to one input of another node.
Returns the associated AudioContext, that is the object representing the processing graph the node is participating in.
Allows us to disconnect the current node from another one it is already connected to.
The index describing which output of the AudioNode is going to be disconnected.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Is a Boolean attribute indicating if the audio asset must be replayed when the end of the AudioBuffer is reached.
Is a double value indicating, in seconds, where in the AudioBuffer the replay of the play must stop (and eventually loop again).
Is a double value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.
Returns the number of inputs feeding the node.
Returns the number of outputs coming out of the node.
Is an EventHandler containing the callback associated with the ended event.
Is an a-rate AudioParam that defines the speed factor at which the audio asset will be played.
Removes the event listener previously registered with EventTarget.addEventListener.
Schedules the start of the playback of the audio asset.
The when parameter defines when the play will start. If when represents a time in the past, the play will start immediately. If the method is called more than one time, or after a call to AudioBufferSourceNode.stop(), an exception is raised.
The offset parameter, which defaults to 0, defines where the playback will start.
The duration parameter, which defaults to the length of the asset minus the value of offset, defines the length of the portion of the asset to be played.
Schedules the end of the playback of an audio asset.
The when parameter defines when the playback will stop. If it represents a time in the past, the playback will end immediately. If this method is called twice or more, an exception is raised.