The measure global object | MNX specification

# The measure global object

Type: Dictionary

The measure-global object is the place to encode global information about a measure — that is, the measure's metadata that applies to every part in the score. Examples are key signatures and time signatures.

## Attributes

Name | Type | Required? | Description
--- | --- | --- | ---
barline | barline | No | The barline drawn at the end of this measure. If not provided, the barline should be interpreted as follows: * If the measure is the last in the document, use {"type": "final"}. * Otherwise, use {"type": "regular"}.
ending | ending | No | Alternate endings (aka "voltas") that begin in this measure.
fermata | fermata | No | Represents a fermata that's visually aligned with the barline at the end of this measure. This is traditionally rendered over the barline.
fine | fine | No |
jump | jump | No |
key | key signature | No |
number | measure number | No | A visual label for the measure. It is not required to be unique in the document. If it's omitted, consuming applications are free to use their own algorithms for determining this measure's visual label. A simple algorithm is to use the 1-based index of this measure within the global measures list.
repeatEnd | repeat end | No |
repeatStart | repeat start | No |
segno | segno | No |
tempos | An array of tempo objects | No |
time | time signature | No |

Plus globally available attributes: _c, _x, id

## Parent objects

This object is used by the following parent objects:

- global data: "measures"

## Examples

This object is used in the following examples:

Accidentals, Articulations, Beams, Beams (across barlines), Beams (hooks), Beams (secondary beam breaks implied), Beams (secondary beam breaks), Beams (with inner grace notes), Clef changes, Dotted notes (augmentation dots), Dynamics, Full-measure rests, Grace note, Grace notes (beamed), Grand staff piano music, Jumps (D.S. al Fine), Jumps (Dal Segno), Key signatures, Lyric line metadata, Lyrics (basic), Lyrics (multi-line), Multimeasure rests, Multiple layouts, Multiple voices, Organ layout, Ottavas (8va), Parts, Repeats, Repeats (more than once repeated), Repeats (with alternate endings, advanced), Repeats (with alternate endings, simple), Repeats (with implied start repeat), Rest positions, Slurs, Slurs (for chords), Slurs (targeting specific notes), Tempo markings, Three-note chord and half rest, Tie targets, Ties, Time signature glyphs, Time signatures, Tremolos (multi-note), Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”