style.azimuth (Property)

Part of the aural style control suite that defines the horizontal angle of the sound source relative to the listener.

Availability:

CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.azimuth
CSS syntax:azimuth: anAngle aDirection
Argument list:anAngleAn angle specified with a value or keyword
aDirectionA direction specifier

The value of this property describes the angle or direction from which the sound is coming from. This assumes you have a sound system that is capable of resolving a full 360 degree panorama. A stereo system should be able to place the sound source in approximately the correct position left to right, by careful use of phasing may be able to move the sound source in and out of the sound field.

The directional value can be specified either as a value in degrees or by using one or two keywords.

An azimuthal value specified in degrees must have the deg suffix. Thus 90 degrees would encoded as 90deg.

The keyword combinations and their azimuthal location are listed in the table:

AngleKeywords
0center
20center-right
40right
60far-right
90right-side
120far-right behind
140right behind
160center-right behind
180center behind
200center-left behind
220left-behind
240far-left behind
270left-side
300far-left
320left
340center-left

In addition you can also specify these keywords:

These shift the sound source in the appropriate direction by 20 degrees.

Warnings:

See also:Aural style sheets, BGSOUND.balance, style.elevation

insert figure 0028