Module web_audio_api::context
source · Expand description
The BaseAudioContext
interface and the AudioContext
and OfflineAudioContext
types
Structs§
- This interface represents an audio graph whose
AudioDestinationNode
is routed to a real-time output device that produces a signal directed at the user. - Specify the playback configuration for the
AudioContext
constructor. - Handle of the
AudioNode
to its associatedBaseAudioContext
. - Unique identifier for audio params.
- 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 anAudioBuffer
.
Enums§
- Identify the type of playback, which affects tradeoffs between audio output latency and power consumption
- This allows users to ask for a particular render quantum size.
- Describes the current state of the
AudioContext
Traits§
- The interface representing an audio-processing graph built from audio modules linked together, each represented by an
AudioNode
.