@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioNode")
public class AudioNode
extends EventTarget
| Modifier and Type | Field and Description |
|---|---|
int |
channelCount
The channelCount property of the AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
|
java.lang.String |
channelCountMode
The channelCountMode property of the AudioNode interface represents an enumerated value describing the way channels must be matched between the node's inputs and outputs.
|
java.lang.String |
channelInterpretation
When the number of channels doesn't match between an input and an output, up- or down-mixing happens according the following rules.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AudioNode() |
| Modifier and Type | Method and Description |
|---|---|
AudioNode |
connect(AudioNode destinationNode)
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls.
|
AudioNode |
connect(AudioNode destinationNode,
int output)
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls.
|
AudioNode |
connect(AudioNode destinationNode,
int output,
int input)
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls.
|
void |
connect(AudioParam destinationParam)
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls.
|
void |
connect(AudioParam destinationParam,
int output)
If the destination is a node, connect() returns a reference to the destination AudioNode object, allowing you to chain multiple connect() calls.
|
BaseAudioContext |
context()
The read-only context property of the AudioNode interface returns the associated BaseAudioContext, that is the object representing the processing graph the node is participating in.
|
void |
disconnect()
undefined
|
void |
disconnect(AudioNode destinationNode)
undefined
|
void |
disconnect(AudioNode destinationNode,
int output)
undefined
|
void |
disconnect(AudioNode destinationNode,
int output,
int input)
undefined
|
void |
disconnect(AudioParam destinationParam)
undefined
|
void |
disconnect(AudioParam destinationParam,
int output)
undefined
|
void |
disconnect(int output)
undefined
|
int |
numberOfInputs()
The numberOfInputs property of the AudioNode interface returns the number of inputs feeding the node.
|
int |
numberOfOutputs()
The numberOfOutputs property of the AudioNode interface returns the number of outputs coming out of the node.
|
addEventListener, 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 int channelCount
@Nonnull @ChannelCountMode public java.lang.String channelCountMode
@Nonnull @ChannelInterpretation public java.lang.String channelInterpretation
@JsProperty(name="context") @Nonnull public BaseAudioContext context()
@JsProperty(name="numberOfInputs") public int numberOfInputs()
@JsProperty(name="numberOfOutputs") public int numberOfOutputs()
@Nonnull public AudioNode connect(@Nonnull AudioNode destinationNode, int output, int input)
@Nonnull public AudioNode connect(@Nonnull AudioNode destinationNode, int output)
@Nonnull public AudioNode connect(@Nonnull AudioNode destinationNode)
public void connect(@Nonnull
AudioParam destinationParam,
int output)
public void connect(@Nonnull
AudioParam destinationParam)
public void disconnect()
public void disconnect(int output)
public void disconnect(@Nonnull
AudioNode destinationNode)
public void disconnect(@Nonnull
AudioNode destinationNode,
int output)
public void disconnect(@Nonnull
AudioNode destinationNode,
int output,
int input)
public void disconnect(@Nonnull
AudioParam destinationParam)
public void disconnect(@Nonnull
AudioParam destinationParam,
int output)