• Skip to main content
  • Skip to search
  • Skip to select language
MDN Logo
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. OfflineAudioContext
  4. OfflineAudioContext.length
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility

OfflineAudioContext.length

The length property of the OfflineAudioContext interface returns an integer representing the size of the buffer in sample-frames.

Value

An integer representing the size of the buffer in sample-frames.

Specifications

Specification
Web Audio API
# dom-offlineaudiocontext-length

Browser compatibility

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 26, 2022, by MDN contributors

Change your language

Related Topics

  1. Web Audio API
  2. OfflineAudioContext
  3. Constructor
    1. OfflineAudioContext()
  4. Properties
    1. length
  5. Methods
    1. resume()
    2. startRendering()
    3. suspend()
  6. Events
    1. complete
  7. Inheritance:
    1. BaseAudioContext
    2. EventTarget
  8. Related pages for Web Audio API
    1. AnalyserNode
    2. AudioBuffer
    3. AudioBufferSourceNode
    4. AudioContext
    5. AudioContextOptions
    6. AudioDestinationNode
    7. AudioListener
    8. AudioNode
    9. AudioNodeOptions
    10. AudioParam
    11. AudioProcessingEvent
    12. AudioScheduledSourceNode
    13. AudioWorklet
    14. AudioWorkletGlobalScope
    15. AudioWorkletNode
    16. AudioWorkletProcessor
    17. BaseAudioContext
    18. BiquadFilterNode
    19. ChannelMergerNode
    20. ChannelSplitterNode
    21. ConstantSourceNode
    22. ConvolverNode
    23. DelayNode
    24. DynamicsCompressorNode
    25. GainNode
    26. IIRFilterNode
    27. MediaElementAudioSourceNode
    28. MediaStreamAudioDestinationNode
    29. MediaStreamAudioSourceNode
    30. OfflineAudioCompletionEvent
    31. OscillatorNode
    32. PannerNode
    33. PeriodicWave
    34. StereoPannerNode
    35. WaveShaperNode
MDN Logo
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2025 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies