The <key> element.
<key>
The key element represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.
https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/key/
Optional
Readonly
Static
Gets
Sets
Generated using TypeDoc
The
<key>element.The key element represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.
See
https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/key/