The <score-instrument> element
Parent element: <score-part>
The score-instrument type represents a single instrument within a score-part. As with the score-part type, each score-instrument has a required ID attribute, a name, and an optional abbreviation.
A score-instrument type is also required if the score specifies MIDI 1.0 channels, banks, or programs. An initial midi-instrument assignment can also be made here. MusicXML software should be able to automatically assign reasonable channels and instruments without these elements in simple cases, such as where part names match General MIDI instrument names.
The score-instrument element can also distinguish multiple instruments of the same type that are on the same part, such as Clarinet 1 and Clarinet 2 instruments within a Clarinets 1 and 2 part.
Content
In this order- <instrument-name> (Required)
- <instrument-abbreviation> (Optional)
- In this order
- <instrument-sound> (Optional)
- Zero or one of the following
- <virtual-instrument> (Optional)
Attributes
| Name | Type | Required? | Description |
|---|---|---|---|
| id | xs:ID | Yes |
Examples
This element is used in the following examples:
<assess> and <player><ensemble><instrument-change><instrument-link><midi-device><midi-instrument><part-link><virtual-instrument>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: PercussionTutorial: Tablature