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()
Sets the pitch multiplier of audio stream. This param will not work with passthrough audio e.g. Dolby audio.voidsetPitchMultiplier(floatpitchMultiplier)
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.

