22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

19 Aural style sheets<br />

19.1 Introduction to aural style sheets . . . . . . . . 277 .<br />

19.2 Volume properties: ’volume’ . . . . . . . . . . 278 .<br />

19.3 Speaking properties: ’speak’ . . . . . . . . . 279 .<br />

19.4 Pause properties: ’pause-before’, ’pause-after’, and ’pause’ . . 279 .<br />

19.5 Cue properties: ’cue-before’, ’cue-after’, and ’cue’ . . . . 281 .<br />

19.6 Mixing properties: ’play-during’ . . . . . . . . . 282 .<br />

19.7 Spatial properties: ’azimuth’ and ’elevation’ . . . . . . 283 .<br />

19.8 Voice characteristic properties: ’speech-rate’, ’voice-family’, ’pitch’,<br />

’pitch-range’, ’stress’, and ’richness’ . . . . . . . . . 285 .<br />

19.9 Speech properties: ’speak-punctuation’ and ’speak-numeral’ . . 288 .<br />

19.1 Introduction to aural style sheets<br />

The aural rendering of a document, already commonly used by the blind and<br />

print-impaired communities, combines speech synthesis and "auditory icons."<br />

Often such aural presentation occurs by converting the document to plain text<br />

and feeding this to a screen reader -- software or hardware that simply reads all<br />

the characters on the screen. This results in less effective presentation than<br />

would be the case if the document structure were retained. <strong>Style</strong> sheet properties<br />

for aural presentation may be used together with visual properties (mixed <strong>media</strong>)<br />

or as an aural alternative to visual presentation.<br />

Besides the obvious accessibility advantages, there are other large markets for<br />

listening to information, including in-car use, industrial and medical documentation<br />

systems (intranets), home entertainment, and to help users learning to read<br />

or who have difficulty reading.<br />

When using aural properties, the canvas consists of a three-dimensional physical<br />

space (sound surrounds) and a temporal space (one may specify sounds<br />

before, during, and after other sounds). The CSS properties also allow authors to<br />

vary the quality of synthesized speech (voice type, frequency, inflection, etc.).<br />

Example(s):<br />

H1, H2, H3, H4, H5, H6 {<br />

voice-family: paul;<br />

stress: 20;<br />

richness: 90;<br />

cue-before: url("ping.au")<br />

}<br />

P.heidi { azimuth: center-left }<br />

P.peter { azimuth: right }<br />

P.goat { volume: x-soft }<br />

This will direct the speech synthesizer to speak headers in a voice (a kind of<br />

"audio font") called "paul", on a flat tone, but in a very rich voice. Before speaking<br />

the headers, a sound sample will be played from the given URL. Paragraphs with<br />

class "heidi" will appear to come from front left (if the sound system is capable of<br />

277

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!