Optional opts: { Optional attributes?: Partial<CancelAttributes>Optional contents?: CancelContentsReadonly schemaReadonly attributes: { Readonly location: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["left", "right", "beforeBarline"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "cancel"Static Readonly schemaReadonly attributes: { Readonly location: { Readonly type: "optional"Readonly value: { Readonly choices: readonly ["left", "right", "beforeBarline"]Readonly type: "choices"Readonly contents: readonly [{ Readonly name: "cancel"Generated using TypeDoc
The
<cancel>elementParent element:
<key>The
<cancel>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<cancel>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).https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/cancel/