- From: Daniel Weck via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 13 Jul 2011 20:41:08 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-speech In directory hutz:/tmp/cvs-serv11209 Modified Files: Overview.html Overview.src.html Log Message: added example of pitch inheritance Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-speech/Overview.html,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 --- Overview.html 13 Jul 2011 20:03:41 -0000 1.74 +++ Overview.html 13 Jul 2011 20:41:06 -0000 1.75 @@ -2150,7 +2150,8 @@ <tr> <td> <em>Computed value:</em> - <td>specified value + <td>an absolute frequency or keyword value, and potentially, a + frequency, semitone, or percentage representing any non-zero offsets </table> <p>The ‘<a href="#voice-pitch"><code @@ -2163,11 +2164,12 @@ around 120Hz, whereas it is around 210Hz for a female voice. <p> Speech-capable user agents are likely to support a specific range of - values rather than the full range of possible computed numerical values + values rather than the full range of possible calculated numerical values for frequencies. The actual values in user agents may therefore be clamped to implementation-dependent minimum and maximum boundaries. For example: - although the 0Hz frequency can be legitimately computed, it may be clamped - to a more meaningful value in the context of the speech synthesizer. + although the 0Hz frequency can be legitimately calculated, it may be + clamped to a more meaningful value in the context of the speech + synthesizer. <p class=note> Note that the functionality provided by this property is related to the <a @@ -2293,7 +2295,8 @@ <tr> <td> <em>Computed value:</em> - <td>specified value + <td>an absolute frequency or keyword value, and potentially, a + frequency, semitone, or percentage representing any non-zero offsets </table> <p> The ‘<a href="#voice-range"><code @@ -2306,11 +2309,12 @@ a flat, monotonic voice, whereas a high range produces an animated voice. <p> Speech-capable user agents are likely to support a specific range of - values rather than the full range of possible computed numerical values + values rather than the full range of possible calculated numerical values for frequencies. The actual values in user agents may therefore be clamped to implementation-dependent minimum and maximum boundaries. For example: - although the 0Hz frequency can be legitimately computed, it may be clamped - to a more meaningful value in the context of the speech synthesizer. + although the 0Hz frequency can be legitimately calculated, it may be + clamped to a more meaningful value in the context of the speech + synthesizer. <p class=note> Note that the functionality provided by this property is related to the <a @@ -2375,6 +2379,32 @@ implementation and language-dependent.</p> </dl> + <div class=example> + <p>Examples of inherited values:</p> + + <pre> +<body> + <parent> + <child> + <grandchild> + ... + </grandchild> + </child> + </parent> +</body> + +body { voice-range: inherit; } /* the initial value is 'medium' */ +parent { voice-range: 200Hz absolute; } /* override with an absolute frequency */ +child { voice-range: 2st; } /* the computed value is [200Hz + two semitones] */ +grandchild { voice-range: inherit; + voice-family: "another-voice"; } /* the computed value is the same as + for "child", but the voice is different so the + calculated (used) absolute frequency + may be completely different, + due to voice-dependent discrepancies */ + </pre> + </div> + <table class=propdef summary="name: syntax"> <tbody> <tr> @@ -3511,6 +3541,11 @@ as being a subset of ‘<a href="#voice-pitch"><code class=property>voice-pitch</code></a>’. + <li>Fixed "computed value" for ‘<a href="#voice-pitch"><code + class=property>voice-pitch</code></a>’ and ‘<a + href="#voice-range"><code class=property>voice-range</code></a>’ + properties. + <li>Removed the "phonemes" property (and its associated "@alphabet" at-rule). Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-speech/Overview.src.html,v retrieving revision 1.75 retrieving revision 1.76 diff -u -d -r1.75 -r1.76 --- Overview.src.html 13 Jul 2011 20:03:41 -0000 1.75 +++ Overview.src.html 13 Jul 2011 20:41:06 -0000 1.76 @@ -1703,7 +1703,8 @@ <td> <em>Computed value:</em> </td> - <td>specified value</td> + <td>an absolute frequency or keyword value, and potentially, a frequency, semitone, or + percentage representing any non-zero offsets </td> </tr> </tbody> </table> @@ -1714,9 +1715,9 @@ voice.</p> <p> Speech-capable user agents are likely to support a specific range of values rather than the - full range of possible computed numerical values for frequencies. The actual values in user + full range of possible calculated numerical values for frequencies. The actual values in user agents may therefore be clamped to implementation-dependent minimum and maximum boundaries. - For example: although the 0Hz frequency can be legitimately computed, it may be clamped to a + For example: although the 0Hz frequency can be legitimately calculated, it may be clamped to a more meaningful value in the context of the speech synthesizer. </p> <p class="note"> Note that the functionality provided by this property is related to the <a @@ -1837,7 +1838,8 @@ <td> <em>Computed value:</em> </td> - <td>specified value</td> + <td>an absolute frequency or keyword value, and potentially, a frequency, semitone, or + percentage representing any non-zero offsets </td> </tr> </tbody> </table> @@ -1848,9 +1850,9 @@ Typically, a low range produces a flat, monotonic voice, whereas a high range produces an animated voice. </p> <p> Speech-capable user agents are likely to support a specific range of values rather than the - full range of possible computed numerical values for frequencies. The actual values in user + full range of possible calculated numerical values for frequencies. The actual values in user agents may therefore be clamped to implementation-dependent minimum and maximum boundaries. - For example: although the 0Hz frequency can be legitimately computed, it may be clamped to a + For example: although the 0Hz frequency can be legitimately calculated, it may be clamped to a more meaningful value in the context of the speech synthesizer. </p> <p class="note"> Note that the functionality provided by this property is related to the <a @@ -1908,6 +1910,31 @@ language-dependent.</p> </dd> </dl> + + <div class="example"> + <p>Examples of inherited values:</p> + <pre> +<body> + <parent> + <child> + <grandchild> + ... + </grandchild> + </child> + </parent> +</body> + +body { voice-range: inherit; } /* the initial value is 'medium' */ +parent { voice-range: 200Hz absolute; } /* override with an absolute frequency */ +child { voice-range: 2st; } /* the computed value is [200Hz + two semitones] */ +grandchild { voice-range: inherit; + voice-family: "another-voice"; } /* the computed value is the same as + for "child", but the voice is different so the + calculated (used) absolute frequency + may be completely different, + due to voice-dependent discrepancies */ + </pre> + </div> <table class="propdef" summary="name: syntax"> <tbody> <tr> @@ -2478,6 +2505,7 @@ <li>Renamed 'voice-pitch-range' to 'voice-range', which is compatible with SSML's notation, and removes the possibility to interpret this property as being a subset of 'voice-pitch'.</li> + <li>Fixed "computed value" for 'voice-pitch' and 'voice-range' properties.</li> <li>Removed the "phonemes" property (and its associated "@alphabet" at-rule).</li> <li>Renamed 'speakability' to 'speak', and 'speak' to 'speak-as'. Reorganized the 'speak-as' values to allow mixing different types.</li>
Received on Wednesday, 13 July 2011 20:41:13 UTC