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 object 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 "light-heavy".
* Otherwise, use "regular".
"ending" ending object No Alternate endings (aka "voltas") that begin in this measure.
"fine" fine object No
"index" measure number object 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 object No
"key" key signature object No
"number" measure number object 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".
"repeat-end" repeat end object No
"repeat-start" repeat start object No
"segno" segno object No
"tempos" An array of tempo objects No
"time" time signature object No

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), Jumps (D.S. al Fine), Jumps (Dal Segno), Key signatures, Multimeasure rests, Multiple layouts, Multiple voices, Octave shifts (8va), Organ layout, 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”