source: https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/cancel/
MusicXML 4.0 >
MusicXML reference >
Elements >
cancel
Parent element:
<key>
The element indicates that the old key signature should be cancelled before the new one appears. This will always happen when changing to C major or A minor and need not be specified then. The element value matches the fifths value of the cancelled key signature (e.g., a cancel of -2 will provide an explicit cancellation for changing from B flat major to F major).
fifths
| Name | Type | Required? | Description |
|---|---|---|---|
| location | cancel-location | No | Indicates where the cancellation appears relative to the new key signature. It is left if not specified. |
This element is used in the following examples: