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.

Keys

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.
fine fine No
index measure number No The one-based index of this measure within the document's score order. The default value is 1 for the first measure in "global". For all other measures, the default value is the value of the previous measure plus 1.

This is used within the MNX document in cases when content needs to refer to a specific measure.
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 omitted, its value is the same as "index".
repeatEnd repeat end No
repeatStart repeat start No
segno segno No
tempos An array of tempo objects No
time time signature No

Parent objects

This object is used by the following parent objects:

Examples

This object is used in the following examples:

Accidentals, Articulations, Beams, Beams (across barlines), Beams (hooks), Beams (secondary beam breaks), Beams (with inner grace notes), Clef changes, Dotted notes (augmentation dots), 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 (incomplete slurs), Slurs (targeting specific notes), Styling elements (basic), Styling via a class (basic), Tempo markings, Three-note chord and half rest, Ties, Time signatures, Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”