This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

AudioNode

Summary

AudioNodes are the building blocks of an AudioContext. An AudioNode represents audio sources, the audio destination, and intermediate processing modules, connected together to form processing graphs for rendering audio to the audio hardware. In general, an AudioNode processes its inputs (if it has any), and generates audio for its outputs (if it has any).

Properties

context
The AudioContext that owns this AudioNode.
numberOfInputs
The number of inputs feeding into the AudioNode. For source nodes, this value will be 0.
numberOfOutputs
The number of outputs coming out of an AudioNode. For destination nodes, this will be 0.

Methods

connect
Connects one AudioNode to another AudioNode.
disconnect
Disconnects an AudioNode from another that it is already connected to.

Events

No events.

Related specifications

W3C Web Audio API
W3C Editor’s Draft