\version "2.22.1" % 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 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 } }