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
<?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>