Skip to content

Commit a0bf2c1

Browse files
committed
improved example
1 parent 9c1e4a6 commit a0bf2c1

2 files changed

Lines changed: 45 additions & 19 deletions

File tree

css3-speech/Overview.html

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,7 +2383,9 @@ <h3 id=voice-props-voice-range><span class=secno>10.4. </span>The &lsquo;<a
23832383
&lt;e3&gt;
23842384
&lt;e4&gt;
23852385
&lt;e5&gt;
2386-
...
2386+
&lt;e6&gt;
2387+
...
2388+
&lt;/e6&gt;
23872389
&lt;/e5&gt;
23882390
&lt;/e4&gt;
23892391
&lt;/e3&gt;
@@ -2399,26 +2401,37 @@ <h3 id=voice-props-voice-range><span class=secno>10.4. </span>The &lsquo;<a
23992401
depends on the active voice) */
24002402

24012403
e1 { voice-range: +25%; } /* the computed value is
2402-
['medium' + 0.25 times the frequency
2403-
corresponding to 'medium'] */
2404-
2405-
e2 { voice-range: inherit; /* this could be omitted,
2404+
['medium' + 25%], which will resolve
2405+
to the frequency corresponding to 'medium'
2406+
plus 0.25 times the frequency
2407+
corresponding to 'medium' */
2408+
2409+
e2 { voice-range: +10Hz; } /* the computed value is
2410+
['medium' + 25% + 10Hz], which will resolve
2411+
to the frequency corresponding to 'medium'
2412+
plus 0.25 times the frequency
2413+
corresponding to 'medium',
2414+
plus another 10 Hertz*/
2415+
2416+
e3 { voice-range: inherit; /* this could be omitted,
24062417
but we explicitly specify it for clarity purposes */
24072418

24082419
voice-family: "another-voice"; } /* the computed value is the same as
2409-
for "e1", but here the voice is different,
2420+
for "e2", but here the voice is different,
24102421
so once calculated, the used absolute frequency
24112422
may be completely different
24122423
due to voice-dependent discrepancies */
24132424

2414-
e3 { voice-range: 200Hz absolute; } /* override with an absolute frequency
2425+
e4 { voice-range: 200Hz absolute; } /* override with an absolute frequency
24152426
which doesn't depend on the active voice */
24162427

2417-
e4 { voice-range: 2st; } /* the computed value is an absolute frequency,
2428+
e5 { voice-range: 2st; } /* the computed value is an absolute frequency,
24182429
which is the result of the
2419-
calculation: 200Hz + two semitones */
2430+
calculation: 200Hz + two semitones
2431+
(reminder: the actual frequency corresponding to a semitone
2432+
depends on the base value to which it applies) */
24202433

2421-
e5 { voice-range: inherit; /* this could be omitted,
2434+
e6 { voice-range: inherit; /* this could be omitted,
24222435
but we explicitly specify it for clarity purposes */
24232436

24242437
voice-family: "yet-another-voice"; } /* the computed value is the same as

css3-speech/Overview.src.html

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,9 @@ <h3 id="voice-props-voice-range">The 'voice-range' property</h3>
19201920
&lt;e3&gt;
19211921
&lt;e4&gt;
19221922
&lt;e5&gt;
1923-
...
1923+
&lt;e6&gt;
1924+
...
1925+
&lt;/e6&gt;
19241926
&lt;/e5&gt;
19251927
&lt;/e4&gt;
19261928
&lt;/e3&gt;
@@ -1936,26 +1938,37 @@ <h3 id="voice-props-voice-range">The 'voice-range' property</h3>
19361938
depends on the active voice) */
19371939

19381940
e1 { voice-range: +25%; } /* the computed value is
1939-
['medium' + 0.25 times the frequency
1940-
corresponding to 'medium'] */
1941+
['medium' + 25%], which will resolve
1942+
to the frequency corresponding to 'medium'
1943+
plus 0.25 times the frequency
1944+
corresponding to 'medium' */
19411945

1942-
e2 { voice-range: inherit; /* this could be omitted,
1946+
e2 { voice-range: +10Hz; } /* the computed value is
1947+
['medium' + 25% + 10Hz], which will resolve
1948+
to the frequency corresponding to 'medium'
1949+
plus 0.25 times the frequency
1950+
corresponding to 'medium',
1951+
plus another 10 Hertz*/
1952+
1953+
e3 { voice-range: inherit; /* this could be omitted,
19431954
but we explicitly specify it for clarity purposes */
19441955

19451956
voice-family: "another-voice"; } /* the computed value is the same as
1946-
for "e1", but here the voice is different,
1957+
for "e2", but here the voice is different,
19471958
so once calculated, the used absolute frequency
19481959
may be completely different
19491960
due to voice-dependent discrepancies */
19501961

1951-
e3 { voice-range: 200Hz absolute; } /* override with an absolute frequency
1962+
e4 { voice-range: 200Hz absolute; } /* override with an absolute frequency
19521963
which doesn't depend on the active voice */
19531964

1954-
e4 { voice-range: 2st; } /* the computed value is an absolute frequency,
1965+
e5 { voice-range: 2st; } /* the computed value is an absolute frequency,
19551966
which is the result of the
1956-
calculation: 200Hz + two semitones */
1967+
calculation: 200Hz + two semitones
1968+
(reminder: the actual frequency corresponding to a semitone
1969+
depends on the base value to which it applies) */
19571970

1958-
e5 { voice-range: inherit; /* this could be omitted,
1971+
e6 { voice-range: inherit; /* this could be omitted,
19591972
but we explicitly specify it for clarity purposes */
19601973

19611974
voice-family: "yet-another-voice"; } /* the computed value is the same as

0 commit comments

Comments
 (0)