This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

inputBuffer

Summary

An AudioBuffer containing the input audio data. It will have a number of channels equal to the numberOfInputChannels parameter of the createScriptProcessor() method. This AudioBuffer is only valid while in the scope of the onaudioprocess function. Its values will be meaningless outside of this scope.

Deprecated; deletion candidate. See http://webaudio.github.io/web-audio-api/.

Property of apis/webaudio/AudioProcessingEventapis/webaudio/AudioProcessingEvent

Syntax

Note: This property is read-only.

var result = AudioProcessingEvent.inputBuffer;

Related specifications

W3C Web Audio API
W3C Editor’s Draft