Results 21 - 31 of 31

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

AudioContext.createIIRFilter()

The createIIRFilter() method of the AudioContext interface creates an IIRFilterNode, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
API audio Audio AudioContext CreateIIRFilter filter Method Reference Web Audio API