Elements
Each tag is a create…() method of BaseAudioContext, without the
“create”.
Tags
| Group | Tags |
|---|---|
| Sources | oscillator, bufferSource, constantSource, mediaElementSource*, mediaStreamSource* |
| Effects | gain, biquadFilter, iirFilter, delay, dynamicsCompressor, waveShaper, convolver, stereoPanner, panner |
| Analysis | analyser |
| Channels | channelSplitter, channelMerger |
| Output | mediaStreamDestination* |
| Custom | audioWorklet |
* Only on a live AudioContext, not an OfflineAudioContext.
When a node is created
An element is created with the options it has when it first renders: creation options such as maxDelayTime, feedforward or numberOfInputs are passed to create…(). Every other attribute is then set on the node.
<!-- context.createDelay(2), then delay.delayTime.value = 0.3 -->
<delay maxDelayTime={2} delayTime={0.3}></delay>Nodes are created once their element is inside a tree that has an AudioContext, and
the whole subtree is connected before it starts playing.