DevelopPHP
home gear home donate
Search Results For
in:

Libraries book

HTML Library CSS Library JavaScript Library PHP Library

Videosbook

PHP and MySQL JavaScript HTML and CSS Vector and 3D Flash Actionscript Android Dev Miscellaneous

Resourcesbook

Website Hosting Developer Q+A
CSS azimuth example   Share / Like

The CSS azimuth property is part of CSS aural content programming. It is used to specify the -360° to 360° horizontal direction a sound is coming from. Certain speaker systems and headphones have the ability to render surround sound, and some people have software that can read the text aloud to them for an audible rendering of document content. Use azimuth together with the elevation property to create a 3D sound stage environment with different voices coming from different directions. The elevation property controls the vertical plane of a sound while azimuth controls the horizontal plane of a sound.

TIP: Text-to-Speech software must be CSS-aware for this audio effect to work. It is only handy for screen readers and text-to-speech systems that are CSS-aware, which not many are. If the text-to-speech software you are using is not CSS-aware, the property will render no direction effect to the text spoken.

CSS CODE EXAMPLE
<style type="text/css">
h1 { azimuth: 70deg; }
h3 { azimuth: behind left; }
p { azimuth: left; }
</style>
<h1>This is header1 content</h1>
<h3>This is header3 content</h3>
<p>This is my paragraph content.</p>
 

This is header1 content

This is header3 content

This is my paragraph content.

Possible Values:

Angle
Specify a direction between -360° to 360°. An azimuth setting of "0deg" makes sound come from the front, "90deg" is the right side, "180deg" is behind, and "270deg" is sound coming from the left side.

left-side
Keyword for a "270deg" position.

far-left
Keyword for a "300deg" position, when used with the 'behind' keyword makes "240deg".

left
Keyword for a "320deg" position, when used with the 'behind' keyword makes "220deg".

center-left
Keyword for a "340deg" position, when used with the 'behind' keyword makes "200deg".

center
Keyword for a "0deg" position, when used with the 'behind' keyword makes "180deg".

center-right
Keyword for a "20deg" position, when used with the 'behind' keyword makes "160deg".

right
Keyword for a "40deg" position, when used with the 'behind' keyword makes "140deg".

far-right
Keyword for a "60deg" position, when used with the 'behind' keyword makes "120deg".

right-side
Keyword for a "90deg" position.

leftwards
Move the sound 20° counter-clockwise in relation to its current angle.

rightwards
Move the sound 20° clockwise in relation to its current angle.

 

Related CSS Aural Properties

cue, cue-after, cue-before, elevation, mark, mark-after, mark-before, pause, pause-after, pause-before, phonemes, pitch, pitch-range, play-during, reset, reset-after, reset-before, richness, speak, speak-header, speak-numeral, speak-punctuation, speech-rate, stress, voice-balance, voice-duration, voice-family, voice-pitch, voice-pitch-range, voice-rate, voice-stress, voice-volume, volume

 

Home   •   Terms of Use   •   T-Shirts   •   RSS   •   Testimonials   •   Subscribe   •   Classroom Chalkboard   •   Developer Q+A   •   Donate   •   Top ↑
Popular In PHP / MySQL E-Commerce Store Production
Social Network Website Building
Image Upload / Photo Processing
CMS Software Programming
Mass Email Systems
Magic XML Data
Search Programming
Popular In JavaScript JSON Programming
Ajax Programming
Animating Elements
WYSIWYG Programming
Date/Time Programming
DOM Scripting
Object Reference
Popular In HTML Canvas Element
New Form Elements
Audio Element
Video Element
Drag and Drop
Event Handling
Element Grouping
Popular In CSS Custom Font Embedding
Dynamic Fit Backgrounds
Theatre Mode
Box Overlays
CSS Level 1 Properties
CSS Level 2 Properties
CSS Level 3 Properties
DevelopPHP.com is a growing educational system packed with video and written material that you can access 24/7 100% free. The focus here in 2013 is spread between five technologies: HTML, CSS, JavaScript, PHP and MySQL. Learn programming theory, database interaction, web design, animation, graphics editing, vector art, 3D modeling, and much more. The educational experience here is a hybrid one offering both high quality video tutorials and code libraries that grow more robust every day. The code libraries are being assembled so that developers can discover all of the building blocks of their favorite languages. The libraries coupled with high quality video tutorials will take you deep down the rabbit hole very quickly. You can also ask questions and get free advice at WebIntersect.com.
©2014 DevelopPHP.com HTML5