Results 61 - 80 of 167

AudioContext.createPanner()

The panner node is spatialized in relation to the AudioContext's AudioListener (defined by the AudioContext.listener attribute), which represents the position and orientation of the person listening to the audio.
API AudioContext createPanner Method Reference Web Audio API

AudioContext.decodeAudioData()

This is the preferred method of creating an audio source for Web Audio API from an audio track.
API Audio audio AudioContext decodeAudioData Method Reference Web Audio API

AudioContext.onstatechange

The following snippet is taken from our AudioContext states demo (see it running live.) The onstatechange hander is used to log the current state to the console every time it changes.
API AudioContext onstatechange Property Reference Référence Web Audio API

AudioContext.resume()

The resume() method of the AudioContext Interface resumes the progression of time in an audio context that has previously been suspended.
API Audio AudioContext Method Reference resume Référence Web Audio API

AudioContext.suspend()

The suspend() method of the AudioContext Interface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.
API Audio AudioContext Method Reference Référence suspend Web Audio API

AudioListener

It is important to note that there is only one listener per context and that it isn't an AudioNode.
API AudioListener Interface Reference Référence Web Audio API