forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-module-speech.xml
182 lines (153 loc) · 18.4 KB
/
css-module-speech.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<?xml version="1.0" encoding="utf-8"?>
<CssModule name="Speech" standard-reference="http://www.w3.org/TR/css3-speech/" status="WD" pub-date="2012-03-20">
<CssProperty name="voice-volume" version="3.0" browsers="none" restriction="volume, enum" description="Refers to the amplitude of the waveform output by the speech synthesizer. The value of 'silent' is mapped to '0' and 'x-loud' is mapped to '100'. The mapping of other values to numerical volume levels is implementation dependent and may vary from one speech synthesizer to the next." syntax="<decibel> | silent | x-soft | soft | medium | loud | x-loud" standard-reference="http://www.w3.org/TR/css3-speech/#voice-volume">
<entry value="silent" description="Volume value 0." />
<entry value="x-soft" />
<entry value="soft" />
<entry value="medium" />
<entry value="loud" />
<entry value="x-loud" description="Volume value 100." />
</CssProperty>
<CssProperty name="voice-balance" version="3.0" browsers="none" restriction="number(-100-100)" description="Refers to the balance between left and right channels, and presumes a two channel (stereo) model that is widely supported on consumer audio equipment." syntax="<number> | left | center | right | leftwards | rightwards" standard-reference="http://www.w3.org/TR/css3-speech/#voice-balance">
<entry value="left" description="Same as -100." />
<entry value="center" description="Same as '0'." />
<entry value="right" description="Same as '100' or '+100'." />
<entry value="leftwards" description="Moves the sound to the left, relative to the inherited voice balance. More precisely, subtract 20 from the inherited value and clip the resulting value to the range '-100' and '100'." />
<entry value="rightwards" description="Moves the sound to the right, relative to the inherited voice balance. More precisely, add 20 to the inherited value and clip the resulting value to the range '-100' and '100'." />
</CssProperty>
<CssProperty name="speak" version="2.0" browsers="none" restriction="enum" syntax="div { $(name): normal; }" description="Specifies whether text will be rendered aurally and if so, in what manner." standard-reference="http://www.w3.org/TR/css3-speech/#speak">
<entry value="none" description="Suppresses aural rendering so that the element requires no time to render." />
<entry value="normal" description="Uses language-dependent pronunciation rules for rendering an element and its children. Punctuation is not spoken, but instead is rendered naturally as various pauses." />
<entry value="spell-out" description="Spells the text one letter at a time (useful for acronyms and abbreviations). In languages where accented characters are rare, it is permitted to drop accents in favor of alternative unaccented spellings." />
<entry value="digits" description="Speak numbers one digit at a time, for instance, 'twelve' would be spoken as 'one two', and '31' as 'three one'." />
<entry value="literal-punctuation" description="Similar to 'normal' value, but punctuation such as semicolons, braces, and so on are to be spoken literally." />
<entry value="no-punctuation" description="Similar to 'normal' value but punctuation is not to be spoken nor rendered as various pauses." />
</CssProperty>
<CssPropertyValue type="pause-time">
<entry value="none" />
<entry value="x-weak" />
<entry value="weak" />
<entry value="medium" />
<entry value="strong" />
<entry value="x-strong" />
</CssPropertyValue>
<CssProperty name="pause-before" version="2.0" browsers="none" restriction="time" description="Specifies a pause or prosodic boundary to be observed before an element or, if any 'cue-before' is specified, before these. Values indicate the prosodic strength of the break in speech output." syntax="h3 { $(name): 30ms; }" standard-reference="http://www.w3.org/TR/css3-speech/#pause-before" type="pause-time" />
<CssProperty name="pause-after" ref="pause-before" version="2.0" browsers="none" description="Specifies a pause or prosodic boundary to be observed after an element or, if any 'cue-after' is specified, after these. Values indicate the prosodic strength of the break in speech output." standard-reference="http://www.w3.org/TR/css3-speech/#pause-after" />
<CssProperty name="pause" version="2.0" browsers="none" restriction="time, enum" type="pause-time" description="Shorthand for setting 'pause-before' and 'pause-after'. If two values are given, the first value is 'pause-before' and the second is 'pause-after'. If only one value is given, it applies to both properties." syntax="h2 { $(name): 30ms 40ms; }" standard-reference="http://www.w3.org/TR/css3-speech/#pause" />
<CssProperty name="rest-before" version="3.0" browsers="none" type="pause-time" restriction="time" description="Specifies a rest or prosodic boundary to be observed before an element's content." syntax="h3 { $(name): 4s; }" standard-reference="http://www.w3.org/TR/css3-speech/#rest-before" />
<CssProperty name="rest-after" ref="rest-before" description="Specifies a rest or prosodic boundary to be observed after an element's content." standard-reference="http://www.w3.org/TR/css3-speech/#rest-after" />
<CssProperty name="rest" ref="rest-before" description="Shorthand for setting 'rest-before' and 'rest-after'. If two values are given, the first value is 'rest-before' and the second is 'rest-after'. If only one value is given, it applies to both properties." standard-reference="http://www.w3.org/TR/css3-speech/#rest" />
<CssProperty name="cue-before" version="2.0" browsers="none" restriction="url, volume, enum" description="Auditory icons are another way to distinguish semantic elements. Sounds may be played before and/or after the element to delimit it." syntax="h1 { $(name): url(dong.wav) -3dB;}" standard-reference="http://www.w3.org/TR/css3-speech/#cue-before">
<entry value="none" description="No auditory icon is specified." />
<entry value="silent" description="Value of '0'" />
<entry value="x-soft" />
<entry value="soft" />
<entry value="medium" />
<entry value="loud" />
<entry value="x-loud" description="Value of '100'" />
<entry value="url()" />
</CssProperty>
<CssProperty name="cue-after" ref="cue-before" standard-reference="http://www.w3.org/TR/css3-speech/#cue-after" />
<CssProperty name="cue" ref="cue-before" description="Shorthand for setting 'cue-before' and 'cue-after'. If two values are given the first value is 'cue-before' and the second is 'cue-after'. If only one value is given, it applies to both properties." standard-reference="http://www.w3.org/TR/css3-speech/#cue" />
<CssProperty name="voice-family" version="2.0" browsers="none" restriction="number, string" syntax="[[<specific-voice> | <generic-voice> ],]* [<specific-voice> | <generic-voice> ]" description="Comma-separated, prioritized list of voice family names (compare with 'font-family')." standard-reference="http://www.w3.org/TR/css3-speech/#voice-family">
<entry value="neutral" description="Neutral voice for 'generic-voice'" />
<entry value="male" description="Male voice for 'generic-voice'" />
<entry value="female" description="Female voice for 'generic-voice'" />
<entry value="child" description="Child voice for 'age'" />
<entry value="young" description="Young person voice for 'age'" />
<entry value="old" description="Old person voice for 'age'" />
</CssProperty>
<CssProperty name="voice-rate" version="3.0" browsers="none" restriction="percentage" description="Controls the speaking rate. The default rate for a voice depends on the language and dialect and on the personality of the voice." syntax="<percentage> | x-slow | slow | medium | fast | x-fast" standard-reference="http://www.w3.org/TR/css3-speech/#voice-rate">
<entry value="x-slow" />
<entry value="slow" />
<entry value="medium" description="Equivalent to 100% and means the normal rate for this voice." />
<entry value="fast" />
<entry value="x-fast" />
</CssProperty>
<CssProperty name="voice-pitch" version="3.0" browsers="none" restriction="percentage, number, frequency, semitones" syntax="h2 { $(name): absolute 30Hz; }" description="Specifies the average pitch (a frequency) of the speaking voice. The average pitch of a voice depends on the voice family. For example, the average pitch for a standard male voice is around 120Hz, but for a female voice, it's around 210Hz." standard-reference="http://www.w3.org/TR/css3-speech/#voice-pitch">
<entry value="absolute" />
<entry value="x-low" />
<entry value="low" />
<entry value="medium" description="Equivalent to 100% and means the normal pitch for this voice" />
<entry value="high" />
<entry value="x-high" />
</CssProperty>
<CssProperty name="voice-range" version="3.0" browsers="none" restriction="percentage, number, frequency, semitones" syntax="h2 { $(name): +10Hz; }" description="Specifies variation in average pitch. Human languages are spoken with varying inflection and pitch; these variations convey additional meaning and emphasis." standard-reference="http://www.w3.org/TR/css3-speech/#voice-props-voice-range">
<entry value="absolute" />
<entry value="x-low" />
<entry value="low" />
<entry value="medium" />
<entry value="high" />
<entry value="x-high" />
</CssProperty>
<CssProperty name="voice-stress" version="3.0" browsers="none" restriction="enum" syntax="h2 { $(name): moderate; }" description="Indicates the strength of emphasis to be applied. Emphasis is indicated using a combination of pitch change, timing changes, loudness and other acoustic differences) that varies from one language to the next." standard-reference="http://www.w3.org/TR/css3-speech/#voice-stress">
<entry value="none" description="Inhibits the synthesizer from emphasizing words it would normally emphasize." />
<entry value="normal" />
<entry value="moderate" />
<entry value="strong" />
<entry value="reduced" description="Effectively the opposite of emphasizing a word. For example, when the phrase 'going to' is reduced it may be spoken as 'gonna'." />
</CssProperty>
<CssProperty name="voice-duration" version="3.0" browsers="none" restriction="time" description="Allows authors to specify how long it should take to render the selected element's content. This property overrides the 'voice-rate' property." syntax="<time>" standard-reference="http://www.w3.org/TR/css3-speech/#voice-duration" />
<CssProperty name="speak-as" version="3.0" browsers="none" restriction="enum" syntax="div { $(name): spell-out; }" description="Determines in what manner text gets rendered aurally, based upon a basic predefined list of possible values." standard-reference="http://www.w3.org/TR/css3-speech/#speak-as">
<entry value="normal" description="Uses language-dependent pronunciation rules for rendering the element's content." />
<entry value="spell-out" description="Spells the text one letter at a time (useful for acronyms and abbreviations)." />
<entry value="digits" description="Speak numbers one digit at a time, for instance, 'twelve' would be spoken as 'one two', and '31' as 'three one'." />
<entry value="literal-punctuation" description="Punctuation such as semicolons, braces, and so on is named aloud (i.e. spoken literally) rather than rendered naturally as appropriate pauses." />
<entry value="no-punctuation" description="Punctuation is not rendered: neither spoken nor rendered as pauses." />
</CssProperty>
<CssProperty name="volume" version="2.0" browsers="none" restriction="percentage, number" description="Volume refers to the median volume of the waveform. In other words, a highly inflected voice at a volume of 50 might peak well above that." syntax="<number> | <percentage> | silent | x-soft | soft | medium | loud | x-loud" standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-volume">
<entry value="silent" description="No sound at all. The value '0' does not mean the same as 'silent'." />
<entry value="x-soft" description="Same as '0'." />
<entry value="soft" description="Same as '25'." />
<entry value="medium" description="Same as '50'." />
<entry value="loud" description="Same as '75'." />
<entry value="x-loud" description="Same as '100'." />
</CssProperty>
<CssProperty name="play-during" version="2.0-2.1" browsers="none" restriction="url" description="A sound to be played while an element's content is rendered." syntax="<uri> [ mix || repeat ]? | auto | none" standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-play-during">
<entry value="mix" description="Sound inherited from the parent element's 'play-during' property continues to play and the sound designated by the <uri> is mixed with it" />
<entry value="repeat" description="Sound will repeat if it is too short to fill the entire duration of the element. Otherwise, the sound plays once and then stops." />
<entry value="auto" description="The sound of the parent element continues to play." />
<entry value="none" description="Silence. The sound of the parent element (if any) is silent during the current element and continues after the current element." />
<entry value="url()" />
</CssProperty>
<CssProperty name="azimuth" version="2.0" browsers="none" restriction="angle" syntax="<angle> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards" description="Sound spatial information" standard-reference="http://www.w3.org/TR/2007/CR-CSS21-20070719/aural.html#propdef-azimuth">
<entry value="behind" />
<entry value="center" description="Same as '0deg'. With 'behind', '180deg'." />
<entry value="center-left" description="Same as '340deg'. With 'behind', '200deg'." />
<entry value="center-right" description="Same as '20deg'. With 'behind', '160deg'." />
<entry value="far-left" description="Same as '300deg'. With 'behind', '240deg'." />
<entry value="far-right" description="Same as '60deg'. With 'behind', '120deg'." />
<entry value="left" description="Same as '320deg'. With 'behind', '220deg'" />
<entry value="left-side" description="Same as '270deg'. With 'behind', '270deg'." />
<entry value="leftwards" description="Moves the sound to the left, relative to the current angle. More precisely, subtracts 20 degrees." />
<entry value="right" description="Same as '40deg'. With 'behind', '140deg'." />
<entry value="right-side" description="Same as '90deg'. With 'behind', '90deg'." />
<entry value="rightwards" description="Moves the sound to the right, relative to the current angle. More precisely, adds 20 degrees." />
</CssProperty>
<CssProperty name="elevation" version="2.0" browsers="none" restriction="angle" syntax="<angle> | below | level | above | higher | lower" description="Sound spatial information" standard-reference="http://www.w3.org/TR/2007/CR-CSS21-20070719/aural.html#propdef-azimuth">
<entry value="below" description="Same as '-90deg'." />
<entry value="level" description="Same as '0deg'." />
<entry value="above" description="Same as '90deg'." />
<entry value="higher" description="Adds 10 degrees to the current elevation." />
<entry value="lower" description="Subtracts 10 degrees from the current elevation." />
</CssProperty>
<CssProperty name="richness" version="2.0" browsers="none" restriction="number(0-100)" syntax="A value between '0' and '100'. The higher the value, the more the voice will carry. A lower value will produce a soft, mellifluous voice." description="Specifies the richness, or brightness, of the speaking voice. A rich voice will 'carry' in a large room, a smooth voice will not." standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-richness" />
<CssProperty name="stress" version="2.0" browsers="none" restriction="number(0-100)" syntax="A value, between '0' and '100'. The meaning of values depends on the language being spoken. For example, a level of '50' for a standard, English-speaking male voice (average pitch = 122Hz), speaking with normal intonation and emphasis would have a different meaning than '50' for an Italian voice." description="Specifies the height of 'local peaks' in the intonation contour of a voice. For example, English is a stressed language, and different parts of a sentence are assigned primary, secondary, or tertiary stress." standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-stress" />
<CssProperty name="pitch" version="2.0" browsers="none" restriction="frequency" description="Specifies the average pitch (a frequency) of the speaking voice. The average pitch of a voice depends on the voice family. For example, the average pitch for a standard male voice is around 120Hz, but for a female voice, it's around 210Hz." syntax="<frequency> | x-low | low | medium | high | x-high" standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-pitch">
<entry value="x-low" />
<entry value="low" />
<entry value="medium" description="Equivalent to 100% and means the normal pitch for this voice" />
<entry value="high" />
<entry value="x-high" />
</CssProperty>
<CssProperty name="pitch-range" version="2.0" browsers="none" restriction="number" description="Specifies variation in average pitch. 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." syntax="<number>" standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-pitch-range" />
<CssProperty name="speech-rate" version="2.0" browsers="none" restriction="number" description="Controls the speaking rate. The default rate for a voice depends on the language and dialect and on the personality of the voice." syntax="<number> | x-slow | slow | medium | fast | x-fast | faster | slower" standard-reference="http://www.w3.org/TR/CSS2/aural.html#propdef-speech-rate">
<entry value="x-slow" description="Same as 80 words per minute." />
<entry value="slow" description="Same as 120 words per minute." />
<entry value="medium" description="Same as 180-200 words per minute." />
<entry value="fast" description="Same as 300 words per minute." />
<entry value="x-fast" description="Same as 500 words per minute." />
<entry value="faster" description="Adds 40 words per minute to the current speech rate." />
<entry value="slower" description="Subtracts 40 words per minute from the current speech rate." />
</CssProperty>
</CssModule>