Hey all,

middle syllables aligned to slurred notes are swallowed by musicxml2ly i.e. 
they get lost during the conversion e.g.:

          <notations>
            <slur type="stop" number="1"/>
          </notations>
          <lyric number="1">
            <syllabic>middle</syllabic>
            <text>la</text>
          </lyric>


Test file: 
https://github.com/Philomelos/lilypond-musicxml2ly-dev/blob/master/MusicXML-TestSuite/slur-lyrics.xml


Result of the conversion (LilyPond 2.17.3): 

        PartPOneVoiceOneLyricsOne =  \lyricmode { Syl -- ble }

instead of:
        PartPOneVoiceOneLyricsOne =  \lyricmode { Syl -- la -- ble }

Image: 
https://github.com/Philomelos/lilypond-musicxml2ly-dev/blob/master/MusicXML-TestSuite/slur-lyrics-bug.png


Even if the syllables did not get lost musicxml2ly would still have to add some 
commands to the .ly-file to align the lyrics correctly.  The result of the test 
file above is:

PartPOneVoiceOne =  {
    \clef "treble" \key c \major \time 4/4 c''2 ( b'2 ) | % 2
    c''1 
}

PartPOneVoiceOneLyricsOne =  \lyricmode { Syl --  ble }

But it should be either 
PartPOneVoiceOne =  {
  \clef "treble" \key c \major \time 4/4 
  \set melismaBusyProperties = #'() 
  c''2 (b'2 ) |%1
  c''1 |%2
  \unset melisma
}
or

PartPOneVoiceOneLyricsOne =  \lyricmode { 
\set ignoreMelismata = ##t
Syl -- la -- ble
\unset ignoreMelismata
}
hth
patrick
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to