lilypond-user
[Top][All Lists]
Advanced

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

Manual syllable durations questions


From: Menu Jacques
Subject: Manual syllable durations questions
Date: Sat, 15 Jul 2017 15:53:25 +0200

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
    }
  >>
>>
%%%%%%%%%%%%


reply via email to

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