CSS - pitch-range



Description

The pitch-range property defines the amount of variation permitted in the pitch of spoken text.

Possible Values

  • number − The higher the value of pitch-range, the more "animated" a voice will seem, due to the changes in pitch used in speaking various words. A value of 0 will produce a voice with no pitch variation at all - in other words, a flat monotone. The value 50 is defined to correspond to "normal" inflection. Higher values will lead to a perception of more animation in the voice.

DOM Syntax

object.style.pitchRange = "50";

Applies to

All the HTML elements

Example

Here is the example −

<style type = "text/css">
   <!--
      body {pitch-range: 66;}
      *.mogire {pitch-range: 0;}
   -->
</style>
Advertisements