You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: accidental

Element: accidental

Description

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. Empty accidental objects are not allowed. If no accidental is desired, it should be omitted.

Derived By

Type accidental

Attributes
Name  Type  Required?  Default  Description 
cautionary  yes-no  No  While a barline is understood to cancel the effect of an accidental (except for tied notes), publishers often add cautionary accidentals(also referred to as a "courtesy accidental" or "reminder accidental") to notes across the barline to remind the performer of the correct pitch.
editorial  yes-no  No 
parentheses  yes-no  No 
bracket  yes-no  No 
size  symbol-size  No 
default-x  tenths  No 
default-y  tenths  No 
relative-x  tenths  No 
relative-y  tenths  No 
font-family  comma-separated-text  No 
font-style  font-style  No 
font-size  font-size  No 
font-weight  font-weight  No 
color  color  No 
Content Model

Contains text only.

Referenced By
Example

sharp



      <note default-x="83">
        <pitch>
          <step>A</step>
          <alter>1</alter>
          <octave>4</octave>
        </pitch>
        <duration>2</duration>
        <voice>1</voice>
        <type>quarter</type>
        <accidental>sharp</accidental>
        <stem default-y="10.5">up</stem>
      </note>

flat

        <accidental>flat</accidental>

natural

        <accidental>natural</accidental>

double sharp

        <accidental>double-sharp</accidental>

double flat

        <accidental>flat-flat</accidental>

parenthesized accidental

        <accidental parentheses="yes">natural</accidental>

Definition

See note

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301