<score-partwise>
<identification>
<miscellaneous>
- <miscellaneous-field name="description">A clef change in the middle of a measure</miscellaneous-field>
+ <miscellaneous-field name="description">A clef change in the middle of a
+ measure, using either an implicit measure or simply placing
+ the attributes in the middle of the measure.</miscellaneous-field>
</miscellaneous>
</identification>
<part-list>
<score-part id="P1">
<part-name>MusicXML Part</part-name>
- <score-instrument id="P1-I1">
- <instrument-name>Grand Piano</instrument-name>
- </score-instrument>
- <midi-instrument id="P1-I1">
- <midi-channel>1</midi-channel>
- <midi-program>1</midi-program>
- </midi-instrument>
</score-part>
</part-list>
<!--=========================================================-->
<line>2</line>
</clef>
</attributes>
- <sound tempo="120"/>
<note>
<rest/>
<duration>4</duration>
<duration>1</duration>
<voice>1</voice>
<type>quarter</type>
- <stem>down</stem>
</note>
<note>
<pitch>
<duration>1</duration>
<voice>1</voice>
<type>quarter</type>
- <stem>down</stem>
</note>
<barline location="right">
<bar-style>none</bar-style>
<duration>1</duration>
<voice>1</voice>
<type>quarter</type>
- <stem>down</stem>
</note>
<note>
<pitch>
<duration>1</duration>
<voice>1</voice>
<type>quarter</type>
- <stem>down</stem>
+ </note>
+ </measure>
+ <!--=======================================================-->
+ <measure number="3">
+ <note>
+ <pitch>
+ <step>C</step>
+ <octave>5</octave>
+ </pitch>
+ <duration>1</duration>
+ <voice>1</voice>
+ <type>quarter</type>
+ </note>
+ <note>
+ <pitch>
+ <step>C</step>
+ <octave>5</octave>
+ </pitch>
+ <duration>1</duration>
+ <voice>1</voice>
+ <type>quarter</type>
+ </note>
+ <attributes>
+ <clef>
+ <sign>G</sign>
+ <line>2</line>
+ </clef>
+ </attributes>
+ <note>
+ <pitch>
+ <step>C</step>
+ <octave>5</octave>
+ </pitch>
+ <duration>1</duration>
+ <voice>1</voice>
+ <type>quarter</type>
+ </note>
+ <note>
+ <pitch>
+ <step>C</step>
+ <octave>5</octave>
+ </pitch>
+ <duration>1</duration>
+ <voice>1</voice>
+ <type>quarter</type>
</note>
<barline location="right">
<bar-style>light-heavy</bar-style>