Something is not right. I installed lilypond 2.23.3 and processed hello2.xml. I still have an incorrect result.
Here is what I do and what I get:$ musicxml2ly ./hello2.xml musicxml2ly: Reading MusicXML from ./hello2.xml ...
musicxml2ly: Converting to LilyPond expressions... musicxml2ly: warning: Negative skip -1/2 (from position 1/2 to 0) musicxml2ly: Output to `hello2.ly' musicxml2ly: Converting to current version (2.23.3) notations ... $ lilypond ./hello2.ly GNU LilyPond 2.23.3 Fontconfig warning: "/etc/fonts/conf.avail/66-wqy-zenhei-sharp-no13px.conf", line 11: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected Processing `./hello2.ly' Parsing... Interpreting music... ./hello2.ly:15:13: warning: cannot find context to change to: Staff = 2<c d,>2 \change Staff="2" }
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `hello2.pdf'...
Success: compilation successfully completed
Can someone try to process hello2.xml and attach .ly and .pdf files he
gets?
hello2.xml
Description: XML document
\version "2.23.3"
% automatically converted by musicxml2ly from ./hello2.xml
\pointAndClickOff
\header {
}
\layout {
\context { \Score
autoBeaming = ##f
}
}
PartPOneVoiceOne = \relative c' {
\clef "treble" \time 2/4 \key g \major | % 1
<c d,>2 \change Staff="2" }
% The score definition
\score {
<<
\new PianoStaff
<<
\set PianoStaff.instrumentName = "Music"
\context Staff = "1" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
>> \context Staff = "2" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
>>
>>
>>
\layout {}
% To create MIDI output, uncomment the following line:
% \midi {\tempo 4 = 100 }
}
hello2.pdf
Description: Adobe PDF document
signature.asc
Description: PGP signature
