Expand description

The AudioNode interface and concrete types

Structs

Provides real-time frequency and time-domain analysis information

Options for constructing an AnalyserNode

AudioBufferSourceNode represents an audio source that consists of an in-memory audio source (i.e. an audio file completely loaded in memory), stored in an AudioBuffer.

Representing the final audio destination and is what the user will ultimately hear.

BiquadFilterNode is a second order IIR filter

Options for constructing a BiquadFilterNode

Config for up/down-mixing of channels for audio nodes

Options for constructing ChannelConfig

AudioNode for combining channels from multiple audio streams into a single audio stream.

Options for constructing a ChannelMergerNode

AudioNode for accessing the individual channels of an audio stream in the routing graph

Options for constructing a ChannelSplitterNode

Audio source whose output is nominally a constant value. A ConstantSourceNode can be used as a constructible AudioParam by automating the value of its offset.

Options for constructing an ConstantSourceNode

Node that delays the incoming audio signal by a certain amount

Options for constructing a DelayNode

AudioNode for volume control

Options for constructing a GainNode

An AudioNode implementing a general IIR filter

Options for constructing a IIRFilterNode

An audio stream destination (e.g. WebRTC sink)

An audio source from a MediaStream (e.g. microphone input)

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 a PeriodicWave object.

Options for constructing an OscillatorNode

Node that positions / spatializes an incoming audio stream in three-dimensional space.

Options for constructing a PannerNode

StereoPannerNode positions an incoming audio stream in a stereo image

Options for constructing a StereoPannerOptions

WaveShaperNode allows to apply non-linear distortion effect on a audio signal. Arbitrary non-linear shaping curves may be specified.

WaveShaperNode options

Enums

Biquad filter types

How channels must be matched between the node’s inputs and outputs.

The meaning of the channels, defining how audio up-mixing and down-mixing will happen.

Algorithm to reduce the volume of an audio source as it moves away from the listener

Type of the waveform rendered by an OscillatorNode

enumerates the oversampling rate available for WaveShaperNode

Spatialization algorithm used to position the audio in 3D space

Traits

This interface represents audio sources, the audio destination, and intermediate processing modules.

Interface of source nodes, controlling start and stop times. The node will emit silence before it is started, and after it has ended.