The length
property of the OfflineAudioContext
interface returns an integer representing the size of the buffer in sample-frames.
var length = OfflineAudioContext.length;
An integer representing the size of the buffer in sample-frames.
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'length' in that specification. | Working Draft | Initial definition. |
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