Firefox Tomorrow

web api instance property

AudioData: numberOfFrames property

View on MDN ↗

Available in workers

The numberOfFrames read-only property of the AudioData interface returns the number of frames in the AudioData object.

Value

An integer.

Examples

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

console.log(AudioData.numberOfFrames);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.