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.

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