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.

numberOfInputs

Summary

The number of inputs feeding into the AudioNode. For source nodes, this value will be 0.

Property of apis/webaudio/AudioNodeapis/webaudio/AudioNode

Syntax

Note: This property is read-only.

var result = AudioNode.numberOfInputs;

Examples

var oscillator = audioCtx.createOscillator();
var inputs = oscillator.numberOfInputs;

Related specifications

W3C Web Audio API
W3C Editor’s Draft