Jump to content

Lyric combine: Difference between revisions

From LilyPond wiki
No edit summary
m New category
 
Line 35: Line 35:
[[Category:Text]]
[[Category:Text]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Workaround]][[Category:Snippet]]
[[Category:Workaround]]
[[Category:Snippet]]

Latest revision as of 23:27, 21 November 2025

With the \lyricsto mechanism, individual lyric lines can be associated with one melody line. For each lyric line, they can be tuned whether to follow melismata or not.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=223

<<
  \new Voice = "bla" \relative c'' {
    \autoBeamOff
    c2( d4) e8[ c b c] f4
  }
  \new Lyrics \lyricsto "bla"  { 
    bla ab blob blob 
  }
  \new Lyrics \lyricsto "bla"  {
    bla 

    \set ignoreMelismata = ##t
    
    blob

    %% note: effect of ignoreMelismata delayed one time step.
    \unset ignoreMelismata 
    blob
    
    blob
  }
  
  \new Lyrics \lyricsto "bla"  {
    nes ted lyrics voice with more words than no tes
  }
>>