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

Element: grace

Description

The grace type indicates the presence of a grace note.

Derived By

Type grace

Attributes
Name  Type  Required?  Default  Description 
steal-time-previous  percent  No  The steal-time-previous attribute indicates the percentage of time to steal from the previous note for the grace note.
steal-time-following  percent  No  The steal-time-following attribute indicates the percentage of time to steal from the following note for the grace note, as for appoggiaturas.
make-time  divisions  No  The make-time attribute indicates to make time, not steal time; the units are in real-time divisions for the grace note.
slash  yes-no  No  The slash attribute for a grace note is yes for slashed eighth notes.
Content Model

Always empty.

Referenced By
Example

      <note default-x="83">
        <grace/>
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="3">up</stem>
        <notations>
          <slur number="1" placement="below" type="start"/>
        </notations>
      </note>
      <note default-x="100">
        <pitch>
          <step>A</step>
          <octave>4</octave>
        </pitch>
        <duration>8</duration>
        <voice>1</voice>
        <type>quarter</type>
        <stem default-y="10.5">up</stem>
        <notations>
          <slur number="1" type="stop"/>
        </notations>
      </note>

      <note default-x="13">
        <grace slash="yes"/>
        <pitch>
          <step>B</step>
          <octave>4</octave>
        </pitch>
        <voice>1</voice>
        <type>eighth</type>
        <stem default-y="3">up</stem>
        <notations>
          <slur number="1" placement="above" type="start"/>
        </notations>
      </note>
      <note default-x="31">
        <pitch>
          <step>A</step>
          <octave>4</octave>
        </pitch>
        <duration>8</duration>
        <voice>1</voice>
        <type>quarter</type>
        <stem default-y="10.5">up</stem>
        <notations>
          <slur number="1" type="stop"/>
        </notations>
      </note>
Definition

See note

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301