AudioScheduledSourceNode Class
The base of the source nodes that are started and stopped at times of the context (https://webaudio.github.io/web-audio-api/#AudioScheduledSourceNode): they output silence before they start and after they stop, and fire ended when they stop.
public abstract class AudioScheduledSourceNode : AudioNode- Inheritance
AudioNodeAudioScheduledSourceNode
Properties
| Name | Description |
|---|---|
| OnEnded | Gets or sets the event handler of the ended event. |
OnEnded
AudioScheduledSourceNode.csGets or sets the event handler of the ended event.
Methods
| Name | Description |
|---|---|
| Start(double) | Schedules the start of the playback at a time. |
| Stop(double) | Schedules the end of the playback at a time. |
Start(double)
AudioScheduledSourceNode.csSchedules the start of the playback at a time.
Parameters
whendouble
Exceptions
DomException- The source was already started (an
InvalidStateError).
See also
Stop(double)
AudioScheduledSourceNode.csSchedules the end of the playback at a time.
Parameters
whendouble
Exceptions
DomException- The source was not started (an
InvalidStateError).