Web/API/OfflineAudioContext/length

From Get docs

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 APIThe definition of 'length' in that specification. Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
length Chrome

Full support 51

Edge

Full support 14

Firefox

Full support Yes

IE

No support No

Opera

Full support 38

Safari

No support No

WebView Android

Full support 51

Chrome Android

Full support 51

Firefox Android

Full support Yes

Opera Android

Full support 41

Safari iOS

No support No

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support
No support  
No support