The AudioNodeOptions dictionary of the Web Audio API specifies options that can be used when creating new AudioNode objects.
AudioNodeOptions is inherited from by the option objects of the different types of audio node constructors. See for example AnalyserNode.AnalyserNode or GainNode.GainNode.
var audioNodeOptions = {
"channelCount" : 2,
"channelCountMode" : "max",
"channelInterpretation" : "discrete"
} channelCount Optional
AudioNode.channelCount for more information.) Its usage and precise definition depend on the value of AudioNodeOptions.channelCountMode.channelCountMode Optional
AudioNode.channelCountMode for more information including default values.)channelInterpretation Optional
"speakers" or "discrete". (See AudioNode.channelCountMode for more information including default values.)| Specification | Status | Comment |
|---|---|---|
| Web Audio API The definition of 'AudioNodeOptions' in that specification. | Working Draft | Initial definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 55 | ? | 53 | ? | 42 | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | 55 | 55 | ? | 53 | 42 | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioNodeOptions