Jump to content

Lyric combine: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
m New category
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Workaround]]
[[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
  }
>>