AudioContext

This contains methods for setting up an AudioContext.

Used internally by the AudioListener and AudioLoader classes.

This uses the Web Audio API.

Methods

.getContext() → AudioContext

Return the value of the variable context in the outer scope, if defined, otherwise set it to a new AudioContext.

.setContext(value : AudioContext) → AudioContext

Set the variable context in the outer scope to value.

Source

For more info on how to obtain the source code of this module see this page.