W3cubDocs

/DOM

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 compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 51 Yes Yes No 38 No
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 51 51 Yes Yes 38 No 5.0

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/length