The <accidental> element
Parent element: <note>
The accidental type represents actual notated accidentals. Editorial and cautionary indications are indicated by attributes. Values for these attributes are “no” if not present. Specific graphic display such as parentheses, brackets, and size are controlled by the level-display attribute group.
Content
accidental-valueAttributes
| Name | Type | Required? | Description |
|---|---|---|---|
| bracket | yes-no | No | |
| cautionary | yes-no | No | |
| color | color | No | |
| default-x | tenths | No | |
| default-y | tenths | No | |
| editorial | yes-no | No | The editorial group specifies editorial information for a musical element. |
| font-family | font-family | No | |
| font-size | font-size | No | |
| font-style | font-style | No | |
| font-weight | font-weight | No | |
| parentheses | yes-no | No | |
| relative-x | tenths | No | |
| relative-y | tenths | No | |
| size | symbol-size | No | |
| smufl | smufl-accidental-glyph-name | No |
Examples
This element is used in the following examples:
<accidental><backup><forward><principal-voice>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: Tablature