The part object

Type: Dictionary

The part object represents a set of measures which describe a single part within the score — generally corresponding to a single instrument. The sequence of measures must match the measures found in the "global" object.

Keys:

Name Type Required? Description
"id" id object No An optional ID for this part. This is used by other elements in the same MNX document in cases when they need to refer to a specific part (or parts).
"measures" An array of part measure objects No
"name" part name object No An optional name for this part. Notation software might use this in instrument-selection UI, and/or it might be rendered to the left of this part's staves (see the "staff" object).
"shortName" part short name object No An optional abbreviated name for this part. Notation software might use this in instrument-selection UI, and/or it might be rendered to the left of this part's staves (see the "staff" object).

For example, the system in a piece of music might use the name "Guitar", while subsequent systems might use the abbreviated "Gtr." instead.
"smuflFont" smufl font object No The SMuFL-compliant font to be used to render notational objects in this part. Can be overridden by certain child elements.
"staves" staff count object No The number of staves that this part uses. For example, use the value 2 for a grand staff (as used in piano music).

If not provided, the default is 1.

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, Multimeasure rests, Multiple layouts, Multiple voices, Orchestral layout, 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), System layouts, Tempo markings, Three-note chord and half rest, Ties, Time signatures, Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”