Good morning,



the following musicxml file contains a <direction> element, which I hoped 
would be ignored if I run musicxml2ly with the --nd option, but it's not. So
either this is a bug, or I misunderstand what is --nd supposed to do.




In any case, it would be great to have an option that would basically get 
rid of all <direction> elements; I work a lot with musicxml files from cpdl.
org, which are often poorly formatted and use <direction> for all sorts of
stuff unrelated to the music itself.




Have a nice day,

AS

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC
    "-//Recordare//DTD MusicXML 4.0 Partwise//EN"
    "http://www.musicxml.org/dtds/partwise.dtd";>
<score-partwise version="4.0">
  <part-list>
    <score-part id="P1">
      <part-name>Music</part-name>
    </score-part>
  </part-list>
  <part id="P1">
    <measure number="1">
      <attributes>
        <divisions>1</divisions>
        <key>
          <fifths>0</fifths>
        </key>
        <time>
          <beats>4</beats>
          <beat-type>4</beat-type>
        </time>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
      </attributes>
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <type>whole</type>
      </note>
      <direction>
        <direction-type>
          <words>Hello!</words>
        </direction-type>
      </direction>
    </measure>
  </part>
</score-partwise>

Reply via email to