style.stress (Property)

Part of the aural style control suite that defines the amount of inflection in the voice as items are spoken.


CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.stress
CSS syntax:stress: aValue
Argument list:aValueA stress level for the speech

To make the spoken voice sound more interesting (and human-like), this property provides some control over the stress or inflection in the voice as it reads the text contained in the element object.

This property takes a numeric value, either integer or floating point with the value 50 being the normal default. Increasing the stress value of the voice will provide a greater variation in the way that words are enunciated. A value of zero would make the voice sound dull and unexciting.


See also:Aural style sheets