squelch.audio-node

connect

(connect src dest)(connect src dest src-channel)(connect src dest src-channel dest-channel)
Allows us to connect one output of this node to one input of another node.

disconnect

(disconnect node)
Allows us to disconnect the current node from another one it is already
connected to.

get-channel-count

(get-channel-count node)
Represents an integer used to determine how many channels are used when
up-mixing and down-mixing connections to any inputs to the node. Its usage and
precise definition depend on the value of AudioNode.channelCountMode.

get-channel-count-mode

(get-channel-count-mode node)
Represents an enumerated value describing the way channels must be matched
between the node's inputs and outputs.

get-channel-interpretation

(get-channel-interpretation node)
Represents an enumerated value describing the meaning of the channels. This
interpretation will define how audio up-mixing and down-mixing will happen.
The possible values are "speakers" or "discrete".

get-context

(get-context node)
Read only.
Returns the associated AudioContext, that is the object representing the
processing graph the node is participating in.

get-number-of-inputs

(get-number-of-inputs node)
Read only.
Returns the number of inputs feeding the node. Source nodes are defined as
nodes having a numberOfInputs property with a value of 0.

get-number-of-outputs

(get-number-of-outputs node)
Read only.
Returns the number of outputs coming out of the node. Destination nodes — like
AudioDestinationNode — have a value of 0 for this attribute.

set-channel-count

(set-channel-count node channel-count)
Represents an integer used to determine how many channels are used when
up-mixing and down-mixing connections to any inputs to the node. Its usage and
precise definition depend on the value of AudioNode.channelCountMode.

set-channel-count-mode

(set-channel-count-mode node mode)
Represents an enumerated value describing the way channels must be matched
between the node's inputs and outputs.

set-channel-interpretation

(set-channel-interpretation node interpretation)
Represents an enumerated value describing the meaning of the channels. This
interpretation will define how audio up-mixing and down-mixing will happen.
The possible values are "speakers" or "discrete".