MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <metronome> element

The <metronome> element

Parent element: <direction-type>

metronome

The metronome type represents metronome marks and other metric relationships. The beat-unit group and per-minute element specify regular metronome marks. The metronome-note and metronome-relation elements allow for the specification of metric modulations and other metric relationships, such as swing tempo marks where two eighths are equated to a quarter note / eighth note triplet. Tied notes can be represented in both types of metronome marks by using the beat-unit-tied and metronome-tied elements. The parentheses attribute indicates whether or not to put the metronome mark in parentheses; its value is no if not specified. The print-object attribute is set to no in cases where the metronome element represents a relationship or range that is not displayed in the music notation.

Content

Exactly one of the following

Attributes

Name Type Required? Description
color color No
default-x tenths No
default-y tenths No
font-family font-family No
font-size font-size No
font-style font-style No
font-weight font-weight No
halign left-center-right No
id xs:ID No
justify left-center-right No
parentheses yes-no No
print-object yes-no No
relative-x tenths No
relative-y tenths No
valign valign No

Examples

This element is used in the following examples:

<beat-unit-dot><beat-unit-tied><beat-unit><metronome-arrows><metronome-note><metronome-tied><metronome><per-minute>