AudioProcessingEvent Redirect 1

« DOM Reference « Event

The Web Audio API AudioProcessingEvent represents events that occur when a ScriptProcessorNode input buffer is ready to be processed.

Properties

Including the inherited properties from its parent, Event.

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only boolean Does the event normally bubble?
cancelable Read only boolean Is it possible to cancel the event?
playbackTime Read only double The time when the audio will be played, as defined by the time of AudioContext.currentTime
inputBuffer Read only AudioBuffer The buffer containing the input audio data to be processed. The number of channels is defined as a parameter, numberOfInputChannels, of the factory method AudioContext.createScriptProcessor(). Note the the returned AudioBuffer is only valid in the scope of the onaudioprocess function.
outputBuffer Read only AudioBuffer The buffer where the output audio data should be written. The number of channels is defined as a parameter, numberOfOutputChannels, of the factory method AudioContext.createScriptProcessor(). Note the the returned AudioBuffer is only valid in the scope of the onaudioprocess function.

Specifications

Specification Status Comment
Web Audio API
The definition of 'AudioProcessingEvent' in that specification.
Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)webkit Activated on Nightly only Not supported Not supported ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? Activated on Nightly only Not supported Not supported ?

See also

  • Using Web Audio

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,