Skip to main content

Module web_audio

Module web_audio 

Source
Expand description

This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/

Types, command parameters and event payloads for the WebAudio domain. The method-name constants for the same domain are in crate::methods.

This domain is experimental and may change without notice.

Structs§

AudioListener
Protocol object for AudioListener
AudioListenerCreatedEvent
Notifies that the construction of an AudioListener has finished.
AudioListenerWillBeDestroyedEvent
Notifies that a new AudioListener has been created.
AudioNode
Protocol object for AudioNode
AudioNodeCreatedEvent
Notifies that a new AudioNode has been created.
AudioNodeWillBeDestroyedEvent
Notifies that an existing AudioNode has been destroyed.
AudioParam
Protocol object for AudioParam
AudioParamCreatedEvent
Notifies that a new AudioParam has been created.
AudioParamWillBeDestroyedEvent
Notifies that an existing AudioParam has been destroyed.
BaseAudioContext
Protocol object for BaseAudioContext
ContextChangedEvent
Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
ContextCreatedEvent
Notifies that a new BaseAudioContext has been created.
ContextRealtimeData
Fields in AudioContext that change in real-time.
ContextWillBeDestroyedEvent
Notifies that an existing BaseAudioContext will be destroyed.
DisableParams
Disables the WebAudio domain.
EnableParams
Enables the WebAudio domain and starts sending context lifetime events.
GetRealtimeDataParams
Fetch the realtime data from the registered contexts.
GetRealtimeDataReturns
What WebAudio.getRealtimeData answers with.
NodeParamConnectedEvent
Notifies that an AudioNode is connected to an AudioParam.
NodeParamDisconnectedEvent
Notifies that an AudioNode is disconnected to an AudioParam.
NodesConnectedEvent
Notifies that two AudioNodes are connected.
NodesDisconnectedEvent
Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.

Enums§

AutomationRate
Enum of AudioParam::AutomationRate from the spec
ChannelCountMode
Enum of AudioNode::ChannelCountMode from the spec
ChannelInterpretation
Enum of AudioNode::ChannelInterpretation from the spec
ContextState
Enum of AudioContextState from the spec
ContextType
Enum of BaseAudioContext types

Type Aliases§

GraphObjectId
An unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API
NodeType
Enum of AudioNode types
ParamType
Enum of AudioParam types