22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

spatial audio), and paragraphs of class "peter" from the right. Paragraphs with<br />

class "goat" will be very soft.<br />

19.2 Volume properties: ’volume’<br />

’volume’<br />

Value: | | silent | x-soft | soft | medium | loud<br />

| x-loud | inherit<br />

Initial: medium<br />

Applies to: all elements<br />

Inherited: yes<br />

Percentages: refer to inherited value<br />

Media: aural<br />

Volume refers to the <strong>media</strong>n volume of the waveform. In other words, a highly<br />

inflected voice at a volume of 50 might peak well above that. The overall values<br />

are likely to be human adjustable for comfort, for example with a physical volume<br />

control (which would increase both the 0 and 100 values proportionately); what<br />

this property does is adjust the dynamic range.<br />

Values have the following meanings:<br />

<br />

Any number between ’0’ and ’100’. ’0’ represents the minimum audible<br />

volume <strong>level</strong> and 100 corresponds to the maximum comfortable <strong>level</strong>.<br />

<br />

Percentage values are calculated relative to the inherited value, and are<br />

then clipped to the range ’0’ to ’100’.<br />

silent<br />

No sound at all. The value ’0’ does not mean the same as ’silent’.<br />

x-soft<br />

Same as ’0’.<br />

soft<br />

Same as ’25’.<br />

medium<br />

Same as ’50’.<br />

loud<br />

Same as ’75’.<br />

x-loud<br />

Same as ’100’.<br />

User agents should allow the values corresponding to ’0’ and ’100’ to be set by<br />

the listener. No one setting is universally applicable; suitable values depend on<br />

the equipment in use (speakers, headphones), the environment (in car, home<br />

theater, library) and personal preferences. Some examples:<br />

A browser for in-car use has a setting for when there is lots of background<br />

noise. ’0’ would map to a fairly high <strong>level</strong> and ’100’ to a quite high <strong>level</strong>. The<br />

speech is easily audible over the road noise but the overall dynamic range is<br />

compressed. Cars with better insulation might allow a wider dynamic range.<br />

278

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!