← Back to release summary

WebAudio: ConvolverNode.channelCount and channelCountMode

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 81)
Intent stage
Evaluate readiness to ship

Summary

For a ConvolverNode, the channelCount can now be set to 1 or 2. The channelCountMode can be "explicit" or "clamped-max". Previously, a channelCount of 1 was not allowed and neither was a mode of "explicit".

Motivation

Extends ConvolverNode capabilities slightly to allow developers to choose the desired behavior without having to add a GainNode to do the desired mixing.

Standards & signals

Docs: https://webaudio.github.io/web-audio-api/#dom-audionode-channelcount https://webaudio.github.io/web-audio-api/#dom-audionode-channelcountmode

Explainers: https://github.com/WebAudio/web-audio-api/issues/2050

View on chromestatus.com