MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Examples > <sync>

<sync>

sync-element

<part id="P1">
   <measure number="2" width="183">
      <direction directive="yes" placement="above">
         <direction-type>
            <words default-y="21" font-size="12" font-weight="bold">Free</words>
         </direction-type>
         <listening>
            <sync type="none"/>
         </listening>
      </direction>
      <note default-x="13">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
      <note default-x="55">
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-40">down</stem>
      </note>
      <note default-x="97">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
      <note default-x="140">
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-40">down</stem>
      </note>
   </measure>
   <measure number="3" width="183">
      <note default-x="13">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
      <note default-x="55">
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-40">down</stem>
      </note>
      <note default-x="97">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
      <note default-x="140">
         <pitch>
            <step>E</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-40">down</stem>
      </note>
   </measure>
   <measure number="4" width="183">
      <direction directive="yes" placement="above">
         <direction-type>
            <words default-y="21" font-size="12" font-weight="bold">Lock to Beat</words>
         </direction-type>
         <listening>
            <sync type="event"/>
         </listening>
      </direction>
      <note default-x="13">
         <pitch>
            <step>A</step>
            <octave>4</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="10">up</stem>
      </note>
      <note default-x="55">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
      <note default-x="98">
         <pitch>
            <step>A</step>
            <octave>4</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="10">up</stem>
      </note>
      <note default-x="140">
         <pitch>
            <step>C</step>
            <octave>5</octave>
         </pitch>
         <duration>2</duration>
         <voice>1</voice>
         <type>quarter</type>
         <stem default-y="-50">down</stem>
      </note>
   </measure>
</part>