Reference: attributes

azimuth attribute

 

azimuth
Type Element Description Use
    To specify the horizontal angle of the sound source

Initial value:
center
 

The azimuth attribute is specified in the W3C's CSS 2.0 specifications as a style property. It is used as an attribute in MML.

The azimuth attribute (horizontal angle) is often used together with the elevation attribute (vertical angle).

Azimuth property values

Values

Sound can be declared in a fixed position, or as if it is moving in a certain direction.

Fixed position

Values for sound in a static/fixed position:

Moving sound

Values for moving sound:

Here is a table summarizing the values:

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

In this example the horizontal angle is right at the back, thus 180 degrees while the vertical angle of the sound source is 10 degrees.

<instrument azimuth="180deg" elevation="10deg">
...

© 1999, 2000 Author: Jacques Steyn