lilypond-user
[Top][All Lists]
Advanced

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

Re: skip of defined length in lyrics?


From: Graham King
Subject: Re: skip of defined length in lyrics?
Date: Fri, 13 Oct 2023 16:54:00 +0100
User-agent: Evolution 3.44.4-0ubuntu2

On Fri, 2023-10-13 at 16:01 +0100, Graham King wrote:
> I'm setting a verse anthem, in which certain voices are instrument-
> only
> until the chorus, at which point they are doubled by singers.
> 
> How can I include a skip of defined duration in the lyrics?  \skip
> counts notes or syllables, but I'd like to count breves and minims,
> to
> avoid the lyrics-alignment containing a magic number that is
> sensitive
> to subsequent editing of the preceding music.
> 
> I've seen a reference somewhere to #skip-of-length but can't find any
> documentation.
> 
> % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> \version "2.25.7"
> 
> notes = { \repeat unfold 12 c'4 }
> 
> words = \lyricmode { 
>   \repeat unfold 2 { \skip 1 }  % Lyrics to start at bar 3.
>   one two three four 
> }
> 
> { << \new Voice = "cantor" \notes
>      \new Lyrics \lyricsto cantor { \words } 
>   >>
> }
> % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Grateful, as ever, for your insights.
> -- Graham
> 

I might have a solution, but I'm a bit wary of unforeseen consequences:

% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\version "2.25.7"

notes = { \repeat unfold 8 c'4 }
morenotes = { \repeat unfold 8 d'4 }

words = \lyricmode { 
   one two three four 
}

{ \notes
  << \new Voice = "cantor" \morenotes
     \new Lyrics \lyricsto cantor { \words } 
  >>
}
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Better advice always welcome; otherwise, sorry for the noise.



reply via email to

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