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.

numberOfOutputs

Summary

The number of outputs coming out of an AudioNode. For destination nodes, this will be 0.

Property of apis/webaudio/AudioNodeapis/webaudio/AudioNode

Syntax

Note: This property is read-only.

var result = AudioNode.numberOfOutputs;

Examples

var oscillator = audioCtx.createOscillator();
var outputs = oscillator.numberOfOutputs;

Related specifications

W3C Web Audio API
W3C Editor’s Draft