destination
Summary
An AudioDestinationNode with a single input representing the final destination for all audio (to be rendered to the audio hardware, i.e., speakers). All AudioNodes actively rendering audio will directly or indirectly connect to the destination node.
Property of apis/webaudio/AudioContextapis/webaudio/AudioContext
Syntax
Note: This property is read-only.
var result = AudioContext.destination;
Return Value
Returns an object of type
AudioDestinationNode
Examples
var audioCtx = new AudioContext();
gainNode.connect(audioCtx.destination);
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft