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