Skip to content

Commit bcbd6ba

Browse files
committed
further SSML clarifications
1 parent d5b50b5 commit bcbd6ba

2 files changed

Lines changed: 42 additions & 34 deletions

File tree

css3-speech/Overview.html

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
284284
<li><a href="#pause-props-pause"><span class=secno>9.2. </span>The
285285
&lsquo;<code class=property>pause</code>&rsquo; shorthand property</a>
286286

287-
<li><a href="#collapsing"><span class=secno>9.3. </span>Collapsing
287+
<li><a href="#collapsed-pauses"><span class=secno>9.3. </span>Collapsing
288288
pauses</a>
289289
</ul>
290290

@@ -970,8 +970,8 @@ <h3 id=speaking-props-speak><span class=secno>8.1. </span>The &lsquo;<a
970970
class=property>none</code>&rsquo; at this level. However, the pauses,
971971
cues, and rests of the ancestor element remain "deactivated" in the
972972
aural dimension, and therefore do not contribute to the <a
973-
href="#collapsing">collapsing of pauses</a> or additive behavior of
974-
adjoining rests.</p>
973+
href="#collapsed-pauses">collapsing of pauses</a> or additive behavior
974+
of adjoining rests.</p>
975975

976976
<dt> <strong>normal</strong>
977977

@@ -1038,16 +1038,18 @@ <h3 id=speaking-props-speak-as><span class=secno>8.2. </span>The &lsquo;<a
10381038

10391039
<p>The &lsquo;<a href="#speak-as"><code
10401040
class=property>speak-as</code></a>&rsquo; property determines in what
1041-
manner text gets rendered aurally, based upon a basic predefined list of
1042-
possible values.
1041+
manner text gets rendered aurally, based upon a predefined list of
1042+
possibilities.
10431043

10441044
<p class=note> Note that the functionality provided by this property is
1045-
related to the <a
1045+
conceptually similar to the <a
10461046
href="http://www.w3.org/TR/speech-synthesis11/#edef_say-as"><code>say-as</code>
10471047
element</a> from the SSML markup language <a href="#SSML"
1048-
rel=biblioentry>[SSML]<!--{{!SSML}}--></a>, whose values are described in
1049-
the <a href="#SSML-SAYAS"
1050-
rel=biblioentry>[SSML-SAYAS]<!--{{SSML-SAYAS}}--></a> W3C Note.
1048+
rel=biblioentry>[SSML]<!--{{!SSML}}--></a> (whose possible values are
1049+
described in the <a href="#SSML-SAYAS"
1050+
rel=biblioentry>[SSML-SAYAS]<!--{{SSML-SAYAS}}--></a> W3C Note). Although
1051+
the design goals are similar, the CSS model is limited to a basic set of
1052+
pronunciation rules.
10511053

10521054
<dl>
10531055
<dt> <strong>normal</strong>
@@ -1073,10 +1075,10 @@ <h3 id=speaking-props-speak-as><span class=secno>8.2. </span>The &lsquo;<a
10731075
<p>Speak numbers one digit at a time, for instance, "twelve" would be
10741076
spoken as "one two", and "31" as "three one".</p>
10751077

1076-
<p class=note>Speech synthesizers are knowledgeable about what is and
1077-
what is not a number. The &lsquo;<a href="#speak-as"><code
1078-
class=property>speak-as</code></a>&rsquo; property enables authors to
1079-
control how the user-agent renders numbers, and may be implemented as a
1078+
<p class=note>Speech synthesizers are knowledgeable about what a
1079+
<em>number</em> is. The &lsquo;<a href="#speak-as"><code
1080+
class=property>speak-as</code></a>&rsquo; property enables some level of
1081+
control on how user-agents render numbers, and may be implemented as a
10801082
preprocessing step before passing the text to the actual speech
10811083
synthesizer.</p>
10821084

@@ -1198,13 +1200,16 @@ <h3 id=pause-props-pause-before-after><span class=secno>9.1. </span>The
11981200
class=property>cue-before</code></a>&rsquo; (or &lsquo;<a
11991201
href="#cue-after"><code class=property>cue-after</code></a>&rsquo;) is
12001202
specified, before (or after) the cue within the <a
1201-
href="#aural-model">audio "box" model</a>.
1203+
href="#aural-model">aural "box" model</a>.
12021204

1203-
<p class=note> Note that the functionality provided by this property is
1204-
related to the <a
1205+
<p class=note> Note that although the functionality provided by this
1206+
property is similar to the <a
12051207
href="http://www.w3.org/TR/speech-synthesis11/#edef_break"><code>break</code>
12061208
element</a> from the SSML markup language <a href="#SSML"
1207-
rel=biblioentry>[SSML]<!--{{!SSML}}--></a>.
1209+
rel=biblioentry>[SSML]<!--{{!SSML}}--></a>, the application of prosodic
1210+
boundaries within the <a href="#aural-model">aural "box" model</a> of CSS
1211+
Speech requires special considerations (e.g. <a
1212+
href="#collapsed-pauses">"collapsed" pauses</a>).
12081213

12091214
<dl>
12101215
<dt> <strong>&lt;time&gt;</strong>
@@ -1314,7 +1319,7 @@ <h3 id=pause-props-pause><span class=secno>9.2. </span>The &lsquo;<a
13141319
h3 { pause-after: 10ms; } /* pause-before: <i>unspecified</i>; pause-after: 10ms */</pre>
13151320
</div>
13161321

1317-
<h3 id=collapsing><span class=secno>9.3. </span>Collapsing pauses</h3>
1322+
<h3 id=collapsed-pauses><span class=secno>9.3. </span>Collapsing pauses</h3>
13181323

13191324
<p> The pause defines the minimum distance of the aural "box" to the aural
13201325
"boxes" before and after it. Adjoining pauses are merged by selecting the

css3-speech/Overview.src.html

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,8 @@ <h3 id="speaking-props-speak">The 'speak' property</h3>
623623
override this value, so descendants can actually take part in the aural rendering despite
624624
using 'none' at this level. However, the pauses, cues, and rests of the ancestor element
625625
remain "deactivated" in the aural dimension, and therefore do not contribute to the <a
626-
href="#collapsing">collapsing of pauses</a> or additive behavior of adjoining rests.
627-
</p>
626+
href="#collapsed-pauses">collapsing of pauses</a> or additive behavior of adjoining
627+
rests. </p>
628628
</dd>
629629
<dt>
630630
<strong>normal</strong>
@@ -691,11 +691,12 @@ <h3 id="speaking-props-speak-as">The 'speak-as' property</h3>
691691
</tbody>
692692
</table>
693693
<p>The 'speak-as' property determines in what manner text gets rendered aurally, based upon a
694-
basic predefined list of possible values.</p>
695-
<p class="note"> Note that the functionality provided by this property is related to the <a
696-
href="http://www.w3.org/TR/speech-synthesis11/#edef_say-as"><code>say-as</code> element</a>
697-
from the SSML markup language [[!SSML]], whose values are described in the [[SSML-SAYAS]] W3C
698-
Note. </p>
694+
predefined list of possibilities.</p>
695+
<p class="note"> Note that the functionality provided by this property is conceptually similar
696+
to the <a href="http://www.w3.org/TR/speech-synthesis11/#edef_say-as"><code>say-as</code>
697+
element</a> from the SSML markup language [[!SSML]] (whose possible values are described in
698+
the [[SSML-SAYAS]] W3C Note). Although the design goals are similar, the CSS model is limited
699+
to a basic set of pronunciation rules.</p>
699700
<dl>
700701
<dt>
701702
<strong>normal</strong>
@@ -721,10 +722,10 @@ <h3 id="speaking-props-speak-as">The 'speak-as' property</h3>
721722
<dd>
722723
<p>Speak numbers one digit at a time, for instance, "twelve" would be spoken as "one two",
723724
and "31" as "three one".</p>
724-
<p class="note">Speech synthesizers are knowledgeable about what is and what is not a
725-
number. The 'speak-as' property enables authors to control how the user-agent renders
726-
numbers, and may be implemented as a preprocessing step before passing the text to the
727-
actual speech synthesizer.</p>
725+
<p class="note">Speech synthesizers are knowledgeable about what a <em>number</em> is. The
726+
'speak-as' property enables some level of control on how user-agents render numbers, and
727+
may be implemented as a preprocessing step before passing the text to the actual speech
728+
synthesizer.</p>
728729
</dd>
729730
<dt>
730731
<strong>literal-punctuation</strong>
@@ -850,10 +851,12 @@ <h3 id="pause-props-pause-before-after">The 'pause-before' and 'pause-after' pro
850851
<p>The 'pause-before' and 'pause-after' properties specify a prosodic boundary (silence with a
851852
specific duration) that occurs before (or after) the speech synthesis rendition of the
852853
selected element, or if any 'cue-before' (or 'cue-after') is specified, before (or after) the
853-
cue within the <a href="#aural-model">audio "box" model</a>.</p>
854-
<p class="note"> Note that the functionality provided by this property is related to the <a
855-
href="http://www.w3.org/TR/speech-synthesis11/#edef_break"><code>break</code> element</a>
856-
from the SSML markup language [[!SSML]]. </p>
854+
cue within the <a href="#aural-model">aural "box" model</a>.</p>
855+
<p class="note"> Note that although the functionality provided by this property is similar to
856+
the <a href="http://www.w3.org/TR/speech-synthesis11/#edef_break"><code>break</code>
857+
element</a> from the SSML markup language [[!SSML]], the application of prosodic boundaries
858+
within the <a href="#aural-model">aural "box" model</a> of CSS Speech requires special
859+
considerations (e.g. <a href="#collapsed-pauses">"collapsed" pauses</a>). </p>
857860
<dl>
858861
<dt>
859862
<strong>&lt;time&gt;</strong>
@@ -951,7 +954,7 @@ <h3 id="pause-props-pause">The 'pause' shorthand property</h3>
951954
h2 { pause: 30ms 40ms; } /* pause-before: 30ms; pause-after: 40ms */
952955
h3 { pause-after: 10ms; } /* pause-before: <i>unspecified</i>; pause-after: 10ms */</pre>
953956
</div>
954-
<h3 id="collapsing">Collapsing pauses</h3>
957+
<h3 id="collapsed-pauses">Collapsing pauses</h3>
955958
<p> The pause defines the minimum distance of the aural "box" to the aural "boxes" before and
956959
after it. Adjoining pauses are merged by selecting the strongest named break and the longest
957960
absolute time interval. For example, "strong" is selected when comparing "strong" and "weak",

0 commit comments

Comments
 (0)