-
public final class WebAudioDomainThis domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/
-
-
Method Summary
Modifier and Type Method Description final Flow<WebAudioEvent>events()Subscribes to all events related to this domain. final Flow<WebAudioEvent.ContextCreatedEvent>contextCreated()Notifies that a new BaseAudioContext has been created. final Flow<WebAudioEvent.ContextWillBeDestroyedEvent>contextWillBeDestroyed()Notifies that an existing BaseAudioContext will be destroyed. final Flow<WebAudioEvent.ContextChangedEvent>contextChanged()Notifies that existing BaseAudioContext has changed some properties (id stays the same).. final Flow<WebAudioEvent.AudioListenerCreatedEvent>audioListenerCreated()Notifies that the construction of an AudioListener has finished. final Flow<WebAudioEvent.AudioListenerWillBeDestroyedEvent>audioListenerWillBeDestroyed()Notifies that a new AudioListener has been created. final Flow<WebAudioEvent.AudioNodeCreatedEvent>audioNodeCreated()Notifies that a new AudioNode has been created. final Flow<WebAudioEvent.AudioNodeWillBeDestroyedEvent>audioNodeWillBeDestroyed()Notifies that an existing AudioNode has been destroyed. final Flow<WebAudioEvent.AudioParamCreatedEvent>audioParamCreated()Notifies that a new AudioParam has been created. final Flow<WebAudioEvent.AudioParamWillBeDestroyedEvent>audioParamWillBeDestroyed()Notifies that an existing AudioParam has been destroyed. final Flow<WebAudioEvent.NodesConnectedEvent>nodesConnected()Notifies that two AudioNodes are connected. final Flow<WebAudioEvent.NodesDisconnectedEvent>nodesDisconnected()Notifies that AudioNodes are disconnected. final Flow<WebAudioEvent.NodeParamConnectedEvent>nodeParamConnected()Notifies that an AudioNode is connected to an AudioParam. final Flow<WebAudioEvent.NodeParamDisconnectedEvent>nodeParamDisconnected()Notifies that an AudioNode is disconnected to an AudioParam. final Unitenable()Enables the WebAudio domain and starts sending context lifetime events. final Unitdisable()Disables the WebAudio domain. final GetRealtimeDataResponsegetRealtimeData(GetRealtimeDataRequest input)Fetch the realtime data from the registered contexts. -
-
Method Detail
-
events
final Flow<WebAudioEvent> events()
Subscribes to all events related to this domain.
-
contextCreated
final Flow<WebAudioEvent.ContextCreatedEvent> contextCreated()
Notifies that a new BaseAudioContext has been created.
-
contextWillBeDestroyed
final Flow<WebAudioEvent.ContextWillBeDestroyedEvent> contextWillBeDestroyed()
Notifies that an existing BaseAudioContext will be destroyed.
-
contextChanged
final Flow<WebAudioEvent.ContextChangedEvent> contextChanged()
Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
-
audioListenerCreated
final Flow<WebAudioEvent.AudioListenerCreatedEvent> audioListenerCreated()
Notifies that the construction of an AudioListener has finished.
-
audioListenerWillBeDestroyed
final Flow<WebAudioEvent.AudioListenerWillBeDestroyedEvent> audioListenerWillBeDestroyed()
Notifies that a new AudioListener has been created.
-
audioNodeCreated
final Flow<WebAudioEvent.AudioNodeCreatedEvent> audioNodeCreated()
Notifies that a new AudioNode has been created.
-
audioNodeWillBeDestroyed
final Flow<WebAudioEvent.AudioNodeWillBeDestroyedEvent> audioNodeWillBeDestroyed()
Notifies that an existing AudioNode has been destroyed.
-
audioParamCreated
final Flow<WebAudioEvent.AudioParamCreatedEvent> audioParamCreated()
Notifies that a new AudioParam has been created.
-
audioParamWillBeDestroyed
final Flow<WebAudioEvent.AudioParamWillBeDestroyedEvent> audioParamWillBeDestroyed()
Notifies that an existing AudioParam has been destroyed.
-
nodesConnected
final Flow<WebAudioEvent.NodesConnectedEvent> nodesConnected()
Notifies that two AudioNodes are connected.
-
nodesDisconnected
final Flow<WebAudioEvent.NodesDisconnectedEvent> nodesDisconnected()
Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
-
nodeParamConnected
final Flow<WebAudioEvent.NodeParamConnectedEvent> nodeParamConnected()
Notifies that an AudioNode is connected to an AudioParam.
-
nodeParamDisconnected
final Flow<WebAudioEvent.NodeParamDisconnectedEvent> nodeParamDisconnected()
Notifies that an AudioNode is disconnected to an AudioParam.
-
getRealtimeData
final GetRealtimeDataResponse getRealtimeData(GetRealtimeDataRequest input)
Fetch the realtime data from the registered contexts.
-
-
-
-