You can get the duration correct using:

lyricsWithDurations = \lyricmode {
"do" \breve __ |
"fa"1
}


However, this doesn't show the extender and I don't know whether this is 
possible.  My advice - don't use lyrics with explicit durations.


--
Phil Holmes


  ----- Original Message ----- 
  From: Menu Jacques 
  To: Lilypond-User Mailing List 
  Cc: Menu Jacques 
  Sent: Saturday, July 15, 2017 2:53 PM
  Subject: Manual syllable durations questions


  Hello folks,


  I’m trying to obtain a second score identical to the first one in the example 
below, without using \lyricsto and with syllables having their duration 
attached to them, but no way.


  How can that be done?


  And a side question: replacing d2 by r2 in variable ‘melody' makes only the 
first syllable, ‘do’, to be kept, see second attached image.


  I bumped on such a rest with <lyric /> attached in a MusicXML file I 
translated with musicxml2ly. Maybe the best bet would be to ignore syllables on 
rests?


  Thanks for your help!


  JM
















  %%%%%%%%%%%%
  melody = \relative {
    c'1 d2 e2 |
    f1
  }

  lyricsWithoutDurations = \lyricmode {
    "do" __ _ _ |
    "fa"
  }

  lyricsWithDurations = \lyricmode {
    "do"1 __ _ _ |
    "fa"1
  }

  <<
    \new Staff <<
      \context Voice = "melody" <<
        \melody
      >>

      \new Lyrics \lyricsto "melody" {
        \lyricsWithoutDurations
      }
    >>
  >>

  <<
    \new Staff <<
      \context Voice = "melody" <<
        \melody
      >>

      \new Lyrics {
        \lyricsWithDurations
      }
    >>
  >>
  %%%%%%%%%%%%




------------------------------------------------------------------------------


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

Reply via email to