OfflineAudioContext.length

The length property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.

Syntax

var length = OfflineAudioContext.length;

Value

An integer representing the size of the buffer in sample-frames.

Specifications

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support51 Yes Yes No38 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5151 Yes Yes38 No5.0

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, PushpitaPikuDey, jpmedley
Last updated by: fscholz,