This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

disconnect

Summary

Disconnects an AudioNode from another that it is already connected to.

Method of apis/webaudio/AudioNodeapis/webaudio/AudioNode

Syntax

var  = AudioNode.disconnect(output);

Parameters

output

Data-type
unsigned long

(Optional)

An index describing which output of the AudioNode to disconnect. An out-of-bound value throws an exception.

Return Value

Returns an object of type

Examples

oscillator.connect(audioCtx.destination);
oscillator.disconnect();

Related specifications

W3C Web Audio API
W3C Editor’s Draft