Eclectic Media Git rhapsode / master css-reference.html
master

Tree @master (Download .tar.gz)

css-reference.html @masterraw · history · blame

<!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>