Module web_audio_api::node

source ·
Expand description

The AudioNode interface and concrete types

Structs

AnalyserNode represents a node able to provide 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 an AudioNode processor implementing very common low-order IIR filters.
Options for constructing a BiquadFilterNode
Config for up/down-mixing of input channels for audio nodes
Options that can be used in constructing all AudioNodes.
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
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
Processing node which applies a linear convolution effect given an impulse response.
ConvolverNode options
Node that delays the incoming audio signal by a certain amount
Options for constructing a DelayNode
DynamicsCompressorNode provides a compression effect.
AudioNode for volume control
Options for constructing a GainNode
IIRFilterNode is an AudioNode processor implementing a general IIR (infinite impulse response)Filter.
Options for constructing a IIRFilterNode
An audio source from an <audio> element
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
PannerNode 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.