AudioScheduledSourceNode

package js.html.audio

extends AudioNodeEventTarget

extended by AudioBufferSourceNode, ConstantSourceNode, OscillatorNode

Available on js

The AudioScheduledSourceNode interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times. Specifically, this interface defines the start() and stop() methods, as well as the onended event handler.

Documentation AudioScheduledSourceNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

onended:Function

A function to be called when the ended event is fired, indicating that the node has finished playing.

Methods

start(when:Float = 0.0):Void

Throws:

null

DOMError

stop(when:Float = 0.0):Void

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/AudioScheduledSourceNode.html