CSS pitch property

CSS pitch property

Description

The pitch property specifies the average pitch used to render spoken text.

Possible values

  • frequency – The frequency value, which must be set in Hertz (e.g., 140Hz), defines the absolute frequency used as the average pitch.
  • x-low – Although the corresponding absolute frequencies will differ for each sound family, the result of x-low must be at least as low as the result derived from the keyword low.


  • low – Although the corresponding absolute frequencies of each sound series are different, the results for “low” must be at least lower than the results derived from the keyword “medium.”

  • medium – Although the corresponding absolute frequencies of each sound series are different, the results for “medium” must be at least higher than the results for “low” and lower than the results derived from the keyword “high.”

  • high – Although the corresponding absolute frequencies of each sound series are different, the results for “high” must be at least higher than the results derived from the keyword “medium.”

  • x-high – Although the corresponding absolute frequencies of each sound series are different, the results for “x-high” must be at least higher than the results derived from the keyword “high.”

DOM Syntax

object.style.pitch = "hight"; 

Applicable Objects

All HTML Elements

Example

The following is an example −

<style type = "text/css"> 
<!-- 
p.dholak {pitch: high;} 
div.benjo {pitch: x-low;} 
body {pitch: 150Hz;} 
--> 
</style> 

Leave a Reply

Your email address will not be published. Required fields are marked *