X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyric-combine.ly;h=1f635e638ce388b1b159a0e3540f3b2db0ce3abd;hb=68dbc841e3401f14b900f6750ebb49b406caf357;hp=871557e2e537afe3a193a25c4bb865a8cd817197;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/lyric-combine.ly b/input/regression/lyric-combine.ly index 871557e2e5..1f635e638c 100644 --- a/input/regression/lyric-combine.ly +++ b/input/regression/lyric-combine.ly @@ -1,54 +1,51 @@ + +\version "2.19.21" + \header{ -texidoc=" -Lyrics can be set to a melody automatically. Excess lyrics will be -dumped. Lyrics will not be set over rests. You can have melismata -either by setting a property melismaBusy, or by setting + + texidoc= "Lyrics can be set to a melody automatically. Excess +lyrics will be discarded. Lyrics will not be set over rests. You can +have melismata either by setting a property melismaBusy, or by setting automaticMelismas (which will set melismas during slurs and ties). If you want a different order than first Music, then Lyrics, you must -precook a chord of staffs/lyrics and label those. Of course -@code{\rhythm} ignores any other rhythms in the piece. Hyphens and -extenders do not assume anything about lyric lengths, so they continue -to work. -"; - - -filename = "twinkle-pop.ly"; -xtitle = "Ah, vous dirais-je, maman "; -description = "twinkle twinkle in pop-song-settings"; -composer = "traditional"; -enteredby = "HWN, chords by Johan Vromans"; -copyright = "public domain"; +precook a chord of staves/@/lyrics and label those. Of course, the +lyrics ignore any other rhythms in the piece." + } +\layout { ragged-right= ##t } -m = \notes \relative c'' { - \property Staff.automaticMelismata = ##t - \autoBeamOff - g4 r8 \times 2/3 { g'8( f )e } r8 \grace { [d16 c b] } e4 - \emptyText - d8.^"melisma" \melisma c16 - \melismaEnd - b } - -noisebeat = \notes \relative c'' {g16 g g g } -noise = { \noisebeat \noisebeat \noisebeat \noisebeat \noisebeat \noisebeat } -textI = \lyrics { la2 __ la -- la __ la la la la la } -textII = \lyrics { da -- da __ da -- da da da da da } - -\score { - \notes < \context Staff = SA \m - \context Lyrics = LA { s1 } - \context Staff = SB { s1 } - \context Lyrics = LB { s1 } - \context Staff = SC \noise - - \addlyrics - \context Staff = SB \m - < \context Lyrics = LA \textI - \context Lyrics = LB \textII - > - - > + +m = \relative { + \autoBeamOff + g'8( a) r8 \tuplet 3/2 { g'8( f e) } r8 \grace { d16[ c b] } e4 + \textLengthOff + d8.^"melisma" \melisma c16 + \melismaEnd + b } +noise = \repeat unfold 6 \relative { g'16 g g g } + +textI = \lyricmode { + la2 __ la -- la __ la la la la la +} + +textII = \lyricmode { + da -- da __ da -- da da da da da +} + + +<< \context Staff = SA \noise + \context Lyrics = LA { s1 } + \context Staff = SB { s1 } + \context Lyrics = LB { s1 } + \context Staff = SC \noise + + \context Staff = SB \context Voice = "middle" \m + \context Lyrics = LA \lyricsto "middle" \textI + \context Lyrics = LB \lyricsto "middle" \textII +>> + +