The MusicXML code for bar 2 (i.e., the tremolo between two notes) is probably faulty; at least it doesn't conform to MusicXML 4.0, AFAICS. It would be nice if xml2ly (a) would emit a more friendly warning or error message, and (b) would insert a \barNumberCheck inspite of the internal error – starting from that very place, all checks are now off by one, causing follow-up warnings from LilyPond.
Here is what xml2ly produces:
\tuplet 3/2 { b'4 b' b' } r | % 2
\barNumberCheck #2
\repeat tremolo 2 {b'16 b' }
r4 b'4 ( b' b' ) | % 3
\barNumberCheck #3
Additionally, it should rather be \repeat tremolo 4 { b'16 b' } to get the right number of beats.
[ef5018a8347cc3762c2f0b401e6389e186ff1cba]
Consider the MusicXML file in the attached archive and process it with
This old tremolo code makes
xml2ly
emit a very cryptic message (\
inserted by me to increase readability), followed by another, very similar message:The MusicXML code for bar 2 (i.e., the tremolo between two notes) is probably faulty; at least it doesn't conform to MusicXML 4.0, AFAICS. It would be nice if
xml2ly
(a) would emit a more friendly warning or error message, and (b) would insert a\barNumberCheck
inspite of the internal error – starting from that very place, all checks are now off by one, causing follow-up warnings from LilyPond.Here is what
xml2ly
produces:Additionally, it should rather be
\repeat tremolo 4 { b'16 b' }
to get the right number of beats.tremolo.zip