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 | 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 object with user-defined keys, where each value is a kit component | No | The definition of a kit of instruments (typically percussion) that are used by this part. Each event in this part can then refer to an individual kitComponent. | |
An array of part measure objects | No | ||
part name | 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 | 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 | No | The SMuFL-compliant font to be used to render notational objects in this part. Can be overridden by certain child elements. | |
staff count | 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. |
|
part transposition | No | The instrument's transposition (used for transposing instruments such as B-flat clarinet). Specifies the interval that transforms a sounding pitch into a written pitch. For example, a B-flat clarinet, which is written a major-second above sounded pitch, would use the interval {"diatonic": 1, "chromatic": 2}. A piccolo, which is written an octave lower than sounded pitch, would use the interval {"diatonic": -7, "chromatic": -12}. (Note for MusicXML users: the direction of transposition is the opposite of MusicXML.) |
Parent objects
This object is used by the following parent objects:
- __root__: "parts"
Examples
This object is used in the following examples: