A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/AudioData/duration below:

AudioData: duration property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. AudioData
  4. duration

Filter sidebar

In this article
  1. WebCodecs API
  2. AudioData
  3. Constructor
    1. AudioData()
  4. Instance properties
    1. duration
    2. format
    3. numberOfChannels
    4. numberOfFrames
    5. sampleRate
    6. timestamp
  5. Instance methods
    1. allocationSize()
    2. clone()
    3. close()
    4. copyTo()
  6. Related pages for WebCodecs API
    1. AudioDecoder
    2. AudioEncoder
    3. EncodedAudioChunk
    4. EncodedVideoChunk
    5. ImageDecoder
    6. ImageTrack
    7. ImageTrackList
    8. VideoColorSpace
    9. VideoDecoder
    10. VideoEncoder
    11. VideoFrame
In this article AudioData: duration property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Dedicated Web Workers.

The duration read-only property of the AudioData interface returns the duration in microseconds of this AudioData object.

Value

An integer.

Examples

The below example prints the value of duration to the console.

js

console.log(AudioData.duration);
Specifications Specification WebCodecs
# dom-audiodata-duration
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Sep 11, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4