Expand description
The AudioNode interface and concrete types
Structs§
- Analyser
Node AnalyserNode
represents a node able to provide real-time frequency and time-domain analysis information.- Analyser
Options - Options for constructing an
AnalyserNode
- Audio
Buffer Source Node AudioBufferSourceNode
represents an audio source that consists of an in-memory audio source (i.e. an audio file completely loaded in memory), stored in anAudioBuffer
.- Audio
Buffer Source Options - Options for constructing an
AudioBufferSourceNode
- Audio
Destination Node - The AudioDestinationNode interface represents the terminal node of an audio graph in a given context. usually the speakers of your device, or the node that will “record” the audio data with an OfflineAudioContext.
- Audio
Node Options - Options that can be used in constructing all AudioNodes.
- Biquad
Filter Node - BiquadFilterNode is an AudioNode processor implementing very common low-order IIR filters.
- Biquad
Filter Options - Options for constructing a
BiquadFilterNode
- Channel
Config - Config for up/down-mixing of input channels for audio nodes
- Channel
Merger Node - AudioNode for combining channels from multiple audio streams into a single audio stream.
- Channel
Merger Options - Options for constructing a
ChannelMergerNode
- Channel
Splitter Node - AudioNode for accessing the individual channels of an audio stream in the routing graph
- Channel
Splitter Options - Options for constructing a
ChannelSplitterNode
- Constant
Source Node - Audio source whose output is nominally a constant value. A
ConstantSourceNode
can be used as a constructibleAudioParam
by automating the value of its offset. - Constant
Source Options - Options for constructing an
ConstantSourceNode
- Convolver
Node - Processing node which applies a linear convolution effect given an impulse response.
- Convolver
Options ConvolverNode
options- Delay
Node - Node that delays the incoming audio signal by a certain amount
- Delay
Options - Options for constructing a
DelayNode
- Dynamics
Compressor Node DynamicsCompressorNode
provides a compression effect.- Dynamics
Compressor Options - Options for constructing a
DynamicsCompressorNode
- Gain
Node - AudioNode for volume control
- Gain
Options - Options for constructing a
GainNode
- IIRFilter
Node - IIRFilterNode is an AudioNode processor implementing a general IIR (infinite impulse response)Filter.
- IIRFilter
Options - Options for constructing a
IIRFilterNode
- Media
Element Audio Source Node - An audio source from an
<audio>
element - Media
Element Audio Source Options - Options for constructing a
MediaElementAudioSourceNode
- Media
Stream Audio Destination Node - An audio stream destination (e.g. WebRTC sink)
- Media
Stream Audio Source Node - An audio source from a
MediaStream
(e.g. microphone input) - Media
Stream Audio Source Options - Options for constructing a
MediaStreamAudioSourceNode
- Media
Stream Track Audio Source Node - An audio source from a
MediaStreamTrack
(e.g. the audio track of the microphone input) - Media
Stream Track Audio Source Options - Options for constructing a
MediaStreamTrackAudioSourceNode
- Oscillator
Node OscillatorNode
represents an audio source generating a periodic waveform. It can generate a few common waveforms (i.e. sine, square, sawtooth, triangle), or can be set to an arbitrary periodic waveform using aPeriodicWave
object.- Oscillator
Options - Options for constructing an
OscillatorNode
- Panner
Node PannerNode
positions / spatializes an incoming audio stream in three-dimensional space.- Panner
Options - Options for constructing a
PannerNode
- Script
Processor Node - An AudioNode which can generate, process, or analyse audio directly using a script (deprecated)
- Script
Processor Options - Options for constructing an
ScriptProcessorNode
- Stereo
Panner Node StereoPannerNode
positions an incoming audio stream in a stereo image- Stereo
Panner Options - Options for constructing a
StereoPannerOptions
- Wave
Shaper Node WaveShaperNode
allows to apply non-linear distortion effect on a audio signal. Arbitrary non-linear shaping curves may be specified.- Wave
Shaper Options WaveShaperNode
options
Enums§
- Biquad
Filter Type - Biquad filter types
- Channel
Count Mode - How channels must be matched between the node’s inputs and outputs.
- Channel
Interpretation - The meaning of the channels, defining how audio up-mixing and down-mixing will happen.
- Distance
Model Type - Algorithm to reduce the volume of an audio source as it moves away from the listener
- Oscillator
Type - Type of the waveform rendered by an
OscillatorNode
- Over
Sample Type - enumerates the oversampling rate available for
WaveShaperNode
- Panning
Model Type - Spatialization algorithm used to position the audio in 3D space
Traits§
- Audio
Node - This interface represents audio sources, the audio destination, and intermediate processing modules.
- Audio
Scheduled Source Node - Interface of source nodes, controlling start and stop times. The node will emit silence before it is started, and after it has ended.