Skip to content

MusicXML:ComplexType:scaling

MusicXML ComplexType scaling

Description

Margins, page sizes, and distances are all measured in tenths to keep MusicXML data in a consistent coordinate system as much as possible. The translation to absolute units is done with the scaling type, which specifies how many millimeters are equal to how many tenths. For a staff height of 7 mm, millimeters would be set to 7 while tenths is set to 40. The ability to set a formula rather than a single scaling factor helps avoid roundoff errors.

Attributes

None

Components

millimeters
The millimeters type is a number representing millimeters. This is used in the scaling element to provide a default scaling from tenths to physical units.
tenths
tenths

Example

...
    <scaling>
      <millimeters>7.1967</millimeters>
      <tenths>40</tenths>
    </scaling>
...

See also

Favorite site