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 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). | |
An array of part measure objects | No | ||
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). | |
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. |
|
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. | |
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: