← Back to release summary

HTMLMediaElement.preservesPitch

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 86)
Intent stage
Prepare to ship

WPT details: There are no WPTs for the moment. It seems like WPTs are where the discussion to add this to the HTML standard fell off. A WPT could be written using a WebAudio pitch detector, such as: https://github.com/cwilso/pitchdetect

Summary

Adds a property to determine whether the pitch of an audio or video element should be preserved when adjusting the playback rate.

Motivation

This feature is needed for creative purposes (e.g. pitch-shifting "DJ deck" style applications), and is already supported by Safari and Firefox. It can also allow prevent the introduction of artifacts from pitch-preserving algorithms at playback speeds very close to 1.00.

Standards & signals

Ecosystem

View on chromestatus.com