Incorrect transposition via musicxml2ly

Alexander Slávik <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hello,




the musicxml2ly script has the --transpose option, which automatically adds 
\transpose to the resulting source code. However, when the result has 
multiple voices in one staff (e.g. after converting the attached almost-
minimal musicxml file), one gets lines like




\context Voice = "PartPOneVoiceOne" {\transpose c d  \voiceOne \
PartPOneVoiceOne }




where the \transpose has no effect (\voiceOne should come before \
transpose).




Tested using the musicxml2ly script coming with 2.25.12 and 2.24.0.





Thanks!

Alexander Slávik
multi_voice.musicxml (text/xml, 802 B)
<?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">
      <note>
        <pitch>
          <step>C</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <voice>1</voice>
        <type>whole</type>
      </note>
      <note>
        <pitch>
          <step>E</step>
          <octave>4</octave>
        </pitch>
        <duration>4</duration>
        <voice>2</voice>
        <type>whole</type>
      </note>
    </measure>
  </part>
</score-partwise>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.