Optional
opts: { Optional
attributes?: Partial<InstrumentAttributes>Optional
contents?: []Readonly
schemaReadonly
attributes: { Readonly
id: { Readonly
type: "required"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
contents: readonly []Readonly
name: "instrument"Static
Readonly
schemaReadonly
attributes: { Readonly
id: { Readonly
type: "required"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
contents: readonly []Readonly
name: "instrument"Sets
Generated using TypeDoc
The
<instrument>
elementParent element:
<note>
The
<instrument>
element distinguishes between<score-instrument>
elements in a<score-part>
. If multiple<score-instrument>
elements are specified in a<score-part>
, there should be an<instrument>
element for each note in the<part>
. Notes that are shared between multiple<score-instrument>
s can have more than one<instrument>
element.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/instrument/