Module web_audio_api::context[][src]

Expand description

The BaseAudioContext interface and the AudioContext and OfflineAudioContext types

Structs

AudioContext

This interface represents an audio graph whose AudioDestinationNode is routed to a real-time output device that produces a signal directed at the user.

AudioContextRegistration

Handle of the node::AudioNode to its associated BaseAudioContext.

AudioNodeId

Unique identifier for audio nodes.

AudioParamId

Unique identifier for audio params.

BaseAudioContext

The BaseAudioContext interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode. An audio context controls both the creation of the nodes it contains and the execution of the audio processing, or decoding.

OfflineAudioContext

The OfflineAudioContext doesn’t render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer.

Traits

AsBaseAudioContext

Retrieve the BaseAudioContext from the concrete AudioContext