The <metronome> element
Parent element: <direction-type>
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- In this order
- In this order
- <beat-unit> (Required)
- <beat-unit-dot> (Zero or more times)
- <beat-unit-tied> (Zero or more times)
- Exactly one of the following
- <per-minute>
- In this order
- In this order
- <beat-unit> (Required)
- <beat-unit-dot> (Zero or more times)
- <beat-unit-tied> (Zero or more times)
- In this order
- In this order
- In this order
- <metronome-arrows> (Optional)
- <metronome-note> (One or more times)
- In this order (Optional)
- <metronome-relation> (Required)
- <metronome-note> (One or more times)
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>