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. |
| Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | 51 | Yes | Yes | No | 38 | No |
| Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
|---|---|---|---|---|---|---|---|
| Basic support | 51 | 51 | Yes | Yes | No | 38 | No |
© 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