The CSS pitch-range property specifies the degree of variation from the average pitch of the voice being used to render the content. A voice with a small pitch range will sound monotone, while a voice with high pitch range values will sound very animated. The perceived pitch of a human voice is determined by the fundamental frequency and typically has a value of 120Hz for a male voice and 210Hz for a female voice.
Values
| Value | Description |
|---|---|
inherit |
Explicitly sets the value of this property to that of the parent. |
<number> |
An integer between 0 and 100. A value of 0 produces a monotone voice, while 50 would produce a normal inflection. Pitch ranges greater than 50 create animated voices. 50 is the initial value.
|
HTML example:
<strong style="pitch-range:80;">OMG!</strong>
CSS example:
strong {
pitch-range:80;
}