Hello folks,

In the example below, chords are split over two voices by musicxml2ly, as it 
found them (as harmonies) in the MusicXML file.

Would it be better to have only one chords part in such a case, to have Ebm9 at 
the same horizontal level as the other three chords, as MuseScore does in the 
second image?

Thanks for your help!

JM




%%%%%%%%%%%%%%%%%


\version "2.19.58"
% automatically converted by musicxml2ly from OVERFULL.xml_inter.xml


\header {
    texidoc =
    "Chords and fretboards assigned to 
          the voices in a multi-voice, multi-staff part. There should be fret 
          diagrams above each of the two staves."
    }

\layout {
    \context { \Score
        autoBeaming = ##f
        }
    }
PartPOneVoiceOne =  \relative d'' {
    \clef "treble" \key c \major \time 4/4 | % 1
    d4 c4 b4 a4 \bar "|."
    }

PartPOneVoiceOneChords =  \chordmode {
    | % 1
    s4 s4 es4:m9 s4 \bar "|."
    }

PartPOneVoiceThree =  \relative d {
    \clef "bass" \key c \major \time 4/4 d4 e4 f4 g4 \bar "|."
    }

PartPOneVoiceThreeChords =  \chordmode {
    c4:5 d4:7 s4 c4:m7.11 \bar "|."
    }


% The score definition
\score {
    <<

        \context ChordNames = "PartPOneVoiceOneChords" { 
\PartPOneVoiceOneChords}
        \context ChordNames = "PartPOneVoiceThreeChords" { 
\PartPOneVoiceThreeChords}
        \new PianoStaff
        <<

            \context Staff = "1" <<
                \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
                \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
                >> \context Staff = "2" <<
                \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
                \context Voice = "PartPOneVoiceThree" {  \PartPOneVoiceThree }
                >>
            >>

        >>
    \layout {}
    % To create MIDI output, uncomment the following line:
    %  \midi {\tempo 4 = 100 }
    }

%%%%%%%%%%%%%%%

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to