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.

outputBuffer

Summary

An AudioBuffer where the output audio data should be written. It will have a number of channels equal to the numberOfOutputChannels parameter of the createScriptProcessor() method. Script code within the scope of the onaudioprocess function is expected to modify the Float32Array arrays representing channel data in this AudioBuffer. Any script modifications to this AudioBuffer outside of this scope will not produce any audible effects.

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.outputBuffer;

Related specifications

W3C Web Audio API
W3C Editor’s Draft