Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

The audioprocess event is fired when an input buffer of a Web Audio API ScriptProcessorNode is ready to be processed.

General info

Specification
Web Audio API
The definition of 'AudioProcessingEvent' in that specification.
Interface
AudioProcessingEvent
Bubbles
?
Cancelable
?
Target
ScriptProcessorNode
Default Action
None

Properties

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 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 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 Nightly build Not supported Not supported ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? Nightly build Not supported Not supported ?

See also

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: fscholz, Vihan, chrisdavidmills, teoli, Sheppy
 最終更新者: fscholz,