bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[musicxml2ly] middle syllables aligned to slurred notes get lost


From: pls
Subject: [musicxml2ly] middle syllables aligned to slurred notes get lost
Date: Thu, 4 Oct 2012 18:06:52 +0200

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]