Gain
Extends
Properties
| Property | Modifier | Type |
|---|---|---|
node | readonly | GainNode |
mute | public | boolean |
Methods
connect()
Call Signature
connect(
destinationNode,
output?,
input?): AudioNode;
The connect() method of the AudioNode interface lets you connect one of the node's outputs to a target, which may be either another AudioNode (thereby directing the sound data to the specified node) or an AudioParam, so that the node's output data is automatically used to change the value of that parameter over time.
Parameters
| Parameter | Type |
|---|---|
destinationNode | AudioNode |
output? | number |
input? | number |
Returns
AudioNode
Inherited from
BaseAudioNode.connect
Call Signature
connect(destinationParam, output?): void;
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
output? | number |
Returns
void
Inherited from
BaseAudioNode.connect
disconnect()
Call Signature
disconnect(): void;
The disconnect() method of the AudioNode interface lets you disconnect one or more nodes from the node on which the method is called.
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(output): void;
Parameters
| Parameter | Type |
|---|---|
output | number |
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(destinationNode): void;
Parameters
| Parameter | Type |
|---|---|
destinationNode | AudioNode |
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(destinationNode, output): void;
Parameters
| Parameter | Type |
|---|---|
destinationNode | AudioNode |
output | number |
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(
destinationNode,
output,
input): void;
Parameters
| Parameter | Type |
|---|---|
destinationNode | AudioNode |
output | number |
input | number |
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(destinationParam): void;
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
Returns
void
Inherited from
BaseAudioNode.disconnect
Call Signature
disconnect(destinationParam, output): void;
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
output | number |
Returns
void
Inherited from
BaseAudioNode.disconnect