当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS2 Aural

CSS
CSS2 Aural
CSS 单位
CSS 颜色
CSS 颜色值
CSS 颜色名称
CSS 编码与组织技巧
CSS 模块化设计思路
CSS完美兼容IE6/IE7/FF的通用方法
CSS @ Ten: 下一个重要的东西

CSS 中的 CSS2 Aural


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 624 ::
收藏到网摘: n/a

Aural Style Sheets
声音样式表

Aural style sheets use a combination of speech synthesis and sound effects to make the user listen to information, instead of reading information.
声音样式表使用了结合演讲与声音的效果来让用户可以听信息而不必阅读信息。

Aural presentation can be used:
声音信息可以在下面这些领域得到普及:

  • by blind people
    针对盲人
  • to help users learning to read
    学习阅读
  • to help users who have reading problems
    帮助那些在阅读上有障碍的人
  • for home entertainment
    家庭娱乐
  • in the car
    汽车中
  • by print-impaired communities
    印刷资源不足的地区

The aural presentation converts the document to plain text and feed this to a screen reader (a program that reads all the characters on the screen).
把文字转换为声音的形式(程序可以阅读所有屏幕上的字符)

An example of an Aural style sheet:
声音样式表的举例:

h1, h2, h3, h4
{
voice-family: male;
richness: 80;
cue-before: url("beep.au")
}

The example above will make the speech synthesizer play a sound, then speak the headers in a very rich male voice.
上述例子将起到良好的综合发言,标题会由非常富有磁性的男声来一一道出。


CSS2 Aural Reference
CSS2中的声音参考

W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).

属性 描述 W3C
azimuth Sets where the sound/voices should come from (horizontally)
设置或检索当前声音的音场角度(水平)
angle
left-side
far-left
left
center-left
center
center-right
right
far-right
right-side
behind
leftwards
rightwards
2
cue A shorthand property for setting the cue-before and cue-after properties in one declaration
设置在对象前后播放的声音
cue-before
cue-after
2
cue-after Specifies a sound to be played after speaking an element's content to delimit it from other
设置在对象后播放的声音。
none
url
2
cue-before Specifies a sound to be played before speaking an element's content to delimit it from other
设置在对象前播放的声音。
none
url
2
elevation Sets where the sound/voices should come from (vertically)
设置或检索当前声音的音场角度(垂直)
angle
below
level
above
higher
lower 
2
pause A shorthand property for setting the pause-before and pause-after properties in one declaration
设置对象前后的声音暂停。
pause-before
pause-after
2
pause-after Specifies a pause after speaking an element's content
定义对象内容被发音后的暂停。
time
%
2
pause-before Specifies a pause before speaking an element's content
定义对象内容发音前的暂停。
time
%
2
pitch Specifies the speaking voice
设置或检索音高。
frequency
x-low
low
medium
high
x-high 
2
pitch-range Specifies the variation in the speaking voice. (Monotone voice or animated voice?)
设置或检索声音的平滑程度
number 2
play-during Specifies a sound to be played while speaking an element's content
设置或检索背景音乐的播放
auto
none
url
mix
repeat
2
richness Specifies the richness in the speaking voice. (Rich voice or thin voice?)
设置或检索当前声音的音色。
number 2
speak Specifies whether content will render aurally
设置或检索声音是否给出
normal
none
spell-out
2
speak-header Specifies how to handle table headers. Should the headers be spoken before every cell, or only before a cell with a different header than the previous cell
指定怎样出列表格的标题
always
once
2
speak-numeral Specifies how to speak numbers
设置或检索数字如何发音
digits
continuous
2
speak-punctuation Specifies how to speak punctuation characters
设置或检索标点符号如何发音。
none
code
2
speech-rate Specifies the speed of the speaking
设置或检索发音速度
number
x-slow
slow
medium
fast
x-fast
faster
slower 
2
stress Specifies the "stress" in the speaking voice
和 pitch-range 相似。设置或检索当前声音波形的最高峰值。
number 2
voice-family A prioritized list of voice family names that contain specific voices
设置或检索当前声音类型。
specific-voice
generic-voice
2
volume Specifies the volume of the speaking
设置或检索音量
number
%
silent
x-soft
soft
medium
loud
x-loud 
2

评论 (0) All

登陆 | 还没注册?