connect method

AudioNode? connect(
  1. JSObject destinationNodeOrDestinationParam, [
  2. int output,
  3. int input
])

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.

Implementation

external AudioNode? connect(
  JSObject destinationNodeOrDestinationParam, [
  int output,
  int input,
]);