@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioWorkletNode")
public class AudioWorkletNode
extends AudioNode
| Modifier and Type | Field and Description |
|---|---|
@JsNullable EventHandler |
onprocessorerror
The onprocessorerror property of the AudioWorkletNode interface defines an event handler function to be called when the processorerror event fires.
|
channelCount, channelCountMode, channelInterpretation| Constructor and Description |
|---|
AudioWorkletNode(BaseAudioContext context,
java.lang.String name)
The AudioWorkletNode() constructor creates a new AudioWorkletNode object, which represents an AudioNode that uses a JavaScript function to perform custom audio processing.
|
AudioWorkletNode(BaseAudioContext context,
java.lang.String name,
AudioWorkletNodeOptions options)
The AudioWorkletNode() constructor creates a new AudioWorkletNode object, which represents an AudioNode that uses a JavaScript function to perform custom audio processing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProcessorerrorListener(EventListener callback) |
void |
addProcessorerrorListener(EventListener callback,
AddEventListenerOptions options) |
void |
addProcessorerrorListener(EventListener callback,
boolean useCapture) |
AudioParamMap |
parameters()
The read-only parameters property of the AudioWorkletNode interface returns the associated AudioParamMap — that is, a Map-like collection of AudioParam objects.
|
MessagePort |
port()
The read-only port property of the AudioWorkletNode interface returns the associated MessagePort.
|
void |
removeProcessorerrorListener(EventListener callback) |
void |
removeProcessorerrorListener(EventListener callback,
boolean useCapture) |
void |
removeProcessorerrorListener(EventListener callback,
EventListenerOptions options) |
connect, connect, connect, connect, connect, context, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, numberOfInputs, numberOfOutputsaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNullable EventHandler onprocessorerror
public AudioWorkletNode(@Nonnull
BaseAudioContext context,
@Nonnull
java.lang.String name,
@Nonnull
AudioWorkletNodeOptions options)
public AudioWorkletNode(@Nonnull
BaseAudioContext context,
@Nonnull
java.lang.String name)
@JsProperty(name="parameters") @Nonnull public AudioParamMap parameters()
@JsProperty(name="port") @Nonnull public MessagePort port()
@JsOverlay
public final void addProcessorerrorListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addProcessorerrorListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addProcessorerrorListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeProcessorerrorListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeProcessorerrorListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeProcessorerrorListener(@Nonnull
EventListener callback)