context
Summary
The AudioContext that owns this AudioNode.
Property of apis/webaudio/AudioNodeapis/webaudio/AudioNode
Syntax
Note: This property is read-only.
var result = AudioNode.context;
Examples
var audioCtx = new AudioContext();
var oscillator = audioCtx.createOscillator();
var cont = oscillator.context; // "audioCtx"
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft