Skip to content

Commit d81f91d

Browse files
committed
[css2] Put stress and pitch-range values back to numbers, adjusted range from 0 to 100
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40883
1 parent 8624bd5 commit d81f91d

3 files changed

Lines changed: 28 additions & 29 deletions

File tree

css2/aural.src

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: aural.src,v 2.3 1998-02-11 23:37:11 ijacobs Exp $ -->
3+
<!-- $Id: aural.src,v 2.4 1998-02-12 12:46:39 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Aural style sheets</TITLE>
@@ -535,7 +535,7 @@ order (i.e., 'x-low' is a lower frequency than 'low', etc.).
535535

536536
<p>Specifies variation in average pitch. The perceived pitch of a
537537
human voice is determined by the fundamental frequency and typically
538-
has a value of '120Hz' for a male voice and '200Hz' for a female voice.
538+
has a value of 120Hz for a male voice and 200Hz for a female voice.
539539
Human languages are spoken with varying inflection and pitch; these
540540
variations convey additional meaning and emphasis. Thus, a highly
541541
animated voice, i.e., one that is heavily inflected, displays a high
@@ -546,10 +546,10 @@ from the average pitch.
546546
<P>Values have the following meanings:</p>
547547

548548
<dl>
549-
<dt><span class="index-inst" title="&lt;frequency&gt;"><span class="value-inst-frequency"><strong>&lt;frequency&gt;</strong></span></span>
550-
<dd>A pitch range of '0' produces
551-
a flat, monotonic voice. A pitch range of 50Hz produces normal
552-
inflection. Pitch ranges greater than 50Hz produce animated voices.
549+
<dt><span class="index-inst" title="&lt;number&gt;"><span class="value-inst-number"><strong>&lt;number&gt;</strong></span></span>
550+
<dd>A value between '0' and '100'. A pitch range of '0' produces
551+
a flat, monotonic voice. A pitch range of 50 produces normal
552+
inflection. Pitch ranges greater than 50 produce animated voices.
553553
</dl>
554554

555555

@@ -568,13 +568,12 @@ provided to allow developers to exploit higher-end auditory displays.
568568
<P>Values have the following meanings:</p>
569569

570570
<dl>
571-
<dt><span class="index-inst" title="&lt;frequency&gt;"><span class="value-inst-frequency"><strong>&lt;frequency&gt;</strong></span></span>
572-
<dd>The greater the value, the more inflected the voice. For
573-
example, a value of '30Hz' or '40Hz' corresponds to
571+
<dt><span class="index-inst" title="&lt;number&gt;"><span class="value-inst-number"><strong>&lt;number&gt;</strong></span></span>
572+
<dd>A value, between '0' and '100'.
573+
The greater the value, the more inflected the voice. For
574+
example, a value of '30' or '40' corresponds to
574575
a standard, English-speaking male voice (average pitch = 122Hz), speaking
575-
with normal intonation and emphasis. The fundamental frequency
576-
may go up to, but never higher than, around '155hz' for stressed
577-
parts of the speech.
576+
with normal intonation and emphasis.
578577
</dl>
579578

580579
<!-- #include src=properties/richness.srb -->

css2/properties/properties.db

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ leftwards | rightwards | inherit;;
303303
medium;; *;; yes;; N/A;; aural
304304
*/
305305

306-
/* pitch-range;; <frequency> | inherit;; 50Hz;; *;;yes;; N/A ;; aural*/
307-
/* stress;; <frequency> | inherit;; 50Hz;; *;;yes;; N/A ;; aural*/
306+
/* pitch-range;; <number> | inherit;; 50;; *;;yes;; N/A ;; aural*/
307+
/* stress;; <number> | inherit;; 50;; *;;yes;; N/A ;; aural*/
308308
/* richness;; <number> | inherit;; 50;; *;; yes;; N/A ;; aural*/
309309

310310
/* speak-punctuation;; code | none | inherit;; none;; *;; yes;; N/A ;; aural*/

css2/sample.src

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: sample.src,v 2.4 1998-02-11 23:40:27 ijacobs Exp $ -->
3+
<!-- $Id: sample.src,v 2.5 1998-02-12 12:46:44 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix A: A sample style sheet for HTML 4.0</TITLE>
@@ -301,32 +301,32 @@ OL OL OL LI {
301301

302302
@media speech {
303303
H1,H2,H3,
304-
H4,H5,H6 { voice-family: paul; stress: 30Hz; richness: 9; }
305-
H1 { pitch: x-low; pitch-range: 90Hz; }
306-
H2 { pitch: x-low; pitch-range: 80Hz; }
307-
H3 { pitch: low; pitch-range: 70Hz; }
308-
H4 { pitch: medium; pitch-range: 60Hz; }
309-
H5 { pitch: medium; pitch-range: 50Hz; }
310-
H6 { pitch: medium; pitch-range: 40Hz; }
304+
H4,H5,H6 { voice-family: paul; stress: 20; richness: 9; }
305+
H1 { pitch: x-low; pitch-range: 90; }
306+
H2 { pitch: x-low; pitch-range: 80; }
307+
H3 { pitch: low; pitch-range: 70; }
308+
H4 { pitch: medium; pitch-range: 60; }
309+
H5 { pitch: medium; pitch-range: 50; }
310+
H6 { pitch: medium; pitch-range: 40; }
311311

312312
LI,DT,DD { pitch: medium; richness: 6; }
313-
DT { stress: 120Hz; }
313+
DT { stress: 80; }
314314

315315
PRE,KEY,CODE,TT { pitch: medium;
316316
pitch-range: 0;
317317
stress: 0;
318318
richness: 8;
319319
}
320-
EM { pitch: medium; pitch-range: 60Hz stress: 90Hz; richness: 5; }
321-
STRONG { pitch: medium; pitch-range: 60Hz stress: 135Hz; richness: 9; }
322-
DFN { pitch: high; pitch-range: 60Hz stress: 90Hz; }
320+
EM { pitch: medium; pitch-range: 60 stress: 60; richness: 5; }
321+
STRONG { pitch: medium; pitch-range: 60 stress: 90; richness: 9; }
322+
DFN { pitch: high; pitch-range: 60 stress: 60; }
323323
S,STRIKE { richness: 0; }
324-
I { pitch: medium; pitch-range: 60Hz stress: 90Hz; richness: 5 }
325-
B { pitch: medium; pitch-range: 60Hz stress: 135Hz; richness: 9; }
324+
I { pitch: medium; pitch-range: 60 stress: 60; richness: 5 }
325+
B { pitch: medium; pitch-range: 60 stress: 90; richness: 9; }
326326
U { richness: 0; }
327327
A:link { voice-family: harry; }
328328
A:visited { voice-family: betty;}
329-
A:active { voice-family: betty; pitch-range: 80Hz; pitch: x-high }
329+
A:active { voice-family: betty; pitch-range: 80; pitch: x-high }
330330
}
331331

332332

0 commit comments

Comments
 (0)