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