~alcinnz/rhapsode

ref: de18302d75988ccf162032ac1c0003ebf0cbe4c8 rhapsode/css-reference.html -rw-r--r-- 7.2 KiB
de18302d — Adrian Cochrane Add new ISSUE 4 years ago
                                                                                
b0b897ea Adrian Cochrane
bbf907ae Adrian Cochrane
b0b897ea Adrian Cochrane
bbf907ae Adrian Cochrane
b0b897ea Adrian Cochrane
bbf907ae Adrian Cochrane
b0b897ea Adrian Cochrane
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
<!DOCTYPE html>
<html>
<head>
  <meta encoding=utf-8 />
  <title>CSS3 Speech Reference</title>
</head>
<body>
  <p>This document lists the (audio related) CSS properties Rhapsode supports.
    To hear the effect of these properties, listen to it in Rhapsode.</p>

  <dl>
    <dt>voice-volume (initial <code>medium</code>)</dt>
    <dd style="voice-volume: x-soft">x-soft</dd>
    <dd style="voice-volume: soft">soft</dd>
    <dd style="voice-volume: medium">medium</dd>
    <dd style="voice-volume: loud">loud</dd>
    <dd style="voice-volume: x-loud">x-loud</dd>
    <dd style="voice-volume: medium +2db">keyword _db, e.g. medium +2db</dd>
    <dd style="voice-volume: silent">silent</dd>

    <dt>speak (initial <code>always</code>)</dt>
    <dd>Can be <code>always</code> or <code>never</code> to determine whether the text is read.</dd>

    <dt>speak-as (initial <code>normal</code>)</dt>
    <dd style="speak-as: normal">normal</dd>
    <dd style="speak-as: spell-out">spell-out</dd>
    <dd style="speak-as: digits">digits</dd>
    <dd style="speak-as: literal-punctuation">literal-punctuation, can be suffixed to <code>normal</code>, <code>spell-out</code>, or <code>digits</code>.</dd>
    <dd style="speak-as: no-punctuation">no-punctuation, as per literal-punctuation.</dd>

    <dt>pause-before (initial <code>none</code>, non-inherited)</dt>
    <dd style="pause-before: 500ms">_ms, e.g. 500ms</dd>
    <dd style="pause-before: 1s">_s, e.g. 1s</dd>
    <dd style="pause-before: none">none</dd>
    <dd style="pause-before: x-weak">x-weak</dd>
    <dd style="pause-before: weak">weak</dd>
    <dd style="pause-before: medium">medium</dd>
    <dd style="pause-before: strong">strong</dd>
    <dd style="pause-before: x-strong">x-strong</dd>

    <dt>pause-after (initial <code>none</code>, non-inherited)</dt>
    <dd style="pause-after: 500ms">_ms, e.g. 500ms</dd>
    <dd style="pause-after: 1s">_s, e.g. 1s</dd>
    <!--<dd style="pause-after: none">none</dd>-->
    <dd style="pause-after: x-weak">x-weak</dd>
    <dd style="pause-after: weak">weak</dd>
    <dd style="pause-after: medium">medium</dd>
    <dd style="pause-after: strong">strong</dd>
    <dd style="pause-after: x-strong">x-strong</dd>

    <dt>pause (shorthand)</dt>
    <dd>pause-before pause-after</dd>
    <dd>Single token, both <code>pause-before</code> & <code>pause-after</code> are set to the same value.</dd>

    <dt>rest-before (initial <code>none</code>, non-inherited)</dt>
    <dd style="rest-before: 500ms">_ms, e.g. 500ms</dd>
    <dd style="rest-before: 1s">_s, e.g. 1s</dd>
    <dd style="rest-before: none">none</dd>
    <dd style="rest-before: x-weak">x-weak</dd>
    <dd style="rest-before: weak">weak</dd>
    <dd style="rest-before: medium">medium</dd>
    <dd style="rest-before: strong">strong</dd>
    <dd style="rest-before: x-strong">x-strong</dd>

    <dt>rest-after (initial <code>none</code>, non-inherited)</dt>
    <dd style="rest-after: 500ms">_ms, e.g. 500ms</dd>
    <dd style="rest-after: 1s">_s, e.g. 1s</dd>
    <dd style="rest-after: none">none</dd>
    <dd style="rest-after: x-weak">x-weak</dd>
    <dd style="rest-after: weak">weak</dd>
    <dd style="rest-after: medium">medium</dd>
    <dd style="rest-after: strong">strong</dd>
    <dd style="rest-after: x-strong">x-strong</dd>

    <dt>rest (shorthand)</dt>
    <dd>rest-before rest-after</dd>
    <dd>Single token, both <code>rest-before</code> & <code>rest-after</code> are set to the same value.</dd>

    <dt>cue-before (initial <code>none</code>, non-inherited)</dt>
    <dd style="cue-before: none">none</dd>
    <dd style="cue-before: url(link.wav)">url()</dd>
    <dd style="cue-before: url(link.wav) -1db">url() _db, e.g. url(link.wav) -1db</dd>

    <dt>cue-after (initial <code>none</code>, non-inherited)</dt>
    <dd style="cue-after: none">none</dd>
    <dd style="cue-after: url(link.wav)">url()</dd>
    <dd style="cue-after: url(link.wav) -1db">url() _db, e.g. url(link.wav) -1db</dd>

    <dt>cue (shorthand)</dt>
    <dd>cue-before cue-after</dd>
    <dd>Single token, both <code>cue-before</code> & <code>cue-after</code> are set to the same value</dd>

    <dt>voice-family</dt>
    <dd style="voice-family: preserve">preserve</dd>
    <dd style="voice-family: whisper">by name, e.g. whisper</dd>
    <dd>By gender, i.e. <code style="voice-family: male">male</code>, <code style="voice-family: female">female</code>, or <code style="voice-family: nuetral">neutral</code>.</dd>
    <dd style="voice-family: old male">By gender and age, e.g. old male</dd>
    <dd style="voice-family: female 3">By gender and variant number, e.g. female 3.</dd>

    <dt>voice-rate (initial <code>normal</code>)</dt>
    <dd style="voice-rate: normal">normal</dd>
    <dd style="voice-rate: x-slow">x-slow</dd>
    <dd style="voice-rate: slow">slow</dd>
    <dd style="voice-rate: medium">medium</dd>
    <dd style="voice-rate: fast">fast</dd>
    <dd style="voice-rate: x-fast">x-fast</dd>
    <dd style="voice-rate: fast 50%">keyword _%, e.g. fast 50%</dd>

    <dt>voice-pitch (initial <code>medium</code>)</dt>
    <dd style="voice-pitch: x-low">x-low</dd>
    <dd style="voice-pitch: low">low</dd>
    <dd style="voice-pitch: medium">medium</dd>
    <dd style="voice-pitch: high">high</dd>
    <dd style="voice-pitch: x-high">x-high</dd>
    <dd style="voice-pitch: low +500hz">keyword _hz, e.g. low +500hz</dd>
    <dd style="voice-pitch: low +10khz">keyword _khz, e.g. low +10khz</dd>
    <dd style="voice-pitch: low +2st">keyword _st, e.g. low +2st. In semitones.</dd>
    <dd style="voice-pitch: low 50%">keyword _%, e.g. low 50%</dd>
    <dd style="voice-pitch: +500hz">_hz, e.g. +500hz. Difference from current value.</dd>
    <dd style="voice-pitch: +10khz">_khz, e.g. +10khz. Difference from current value.</dd>
    <dd style="voice-pitch: 500hz absolute">_hz absolute <em>or</em> absolute _hz, e.g. 500hz absolute</dd>
    <dd style="voice-pitch: 10khz absolute">_khz absolute <em>or</em> absolute _hz, e.g. 10khz absolute</dd>

    <dt>voice-range (initial <code>medium</code>)</dt>
    <dd style="voice-range: x-low">x-low</dd>
    <dd style="voice-range: low">low</dd>
    <dd style="voice-range: medium">medium</dd>
    <dd style="voice-range: high">high</dd>
    <dd style="voice-range: x-high">x-high</dd>
    <dd style="voice-range: low +500hz">keyword _hz, e.g. low +500hz</dd>
    <dd style="voice-range: low +10khz">keyword _khz, e.g. low +10khz</dd>
    <dd style="voice-range: low +2st">keyword _st, e.g. low +2st. In semitones.</dd>
    <dd style="voice-range: low 50%">keyword _%, e.g. low 50%</dd>
    <dd style="voice-range: +500hz">_hz, e.g. +500hz. Difference from current value.</dd>
    <dd style="voice-range: +10khz">_khz, e.g. +10khz. Difference from current value.</dd>
    <dd style="voice-range: 500hz absolute">_hz absolute <em>or</em> absolute _hz, e.g. 500hz absolute</dd>
    <dd style="voice-range: 10khz absolute">_khz absolute <em>or</em> absolute _hz, e.g. 10khz absolute</dd>

    <dt>voice-stress (initial <code>normal</code>)</dt>
    <dd style="voice-stress: normal">normal</dd>
    <dd style="voice-stress: strong">strong</dd>
    <dd style="voice-stress: medium">medium</dd>
    <dd style="voice-stress: none">none</dd>
    <dd style="voice-stress: reduced">reduced</dd>
  </dl>
</body>
</html>