Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IHtmlMediaElement4

interface IHtmlMediaElement4
Extends IHtmlMediaElement3 The HtmlMediaElement4 object. Extension of HtmlMediaElement3 adds new method to set pitch multiplier of audio stream in HtmlMediaElement.

Methods

setPitchMultiplier()

void setPitchMultiplier(float pitchMultiplier)
Sets the pitch multiplier of audio stream. This param will not work with passthrough audio e.g. Dolby audio.

Parameters

pitchMultiplier
float — Required The new value of pitch multiplier. Valid range: 0.1 to 10.0 (inclusive) 1.0 represents normal pitch (default) Values > 1.0 represents higher pitch Values < 1.0 represents lower pitch

getPitchMultiplier()

float getPitchMultiplier()
Returns the current pitch multiplier of audio stream. This param will not work with passthrough audio e.g. Dolby audio.

Returns

float Current set pitch multiplier of audio stream.
Last modified on October 29, 2026