Firefox Tomorrow

web api instance property

AudioData: numberOfChannels property

View on MDN ↗

Available in workers

The numberOfChannels read-only property of the AudioData interface returns the number of channels in the AudioData object.

Value

An integer.

Examples

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

console.log(AudioData.numberOfChannels);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.