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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
lengthChrome Full support 51Edge Full support 14Firefox Full support YesIE No support NoOpera Full support 38Safari No support NoWebView Android Full support 51Chrome Android Full support 51Edge Mobile Full support YesFirefox Android Full support YesOpera Android Full support 38Safari iOS No support NoSamsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,