On Sun, 22 Jan 2023, 10:32 Jon Arnold, <[email protected]> wrote:

> Hey folks-
>
> Can anyone tell me why the slurs are not being followed in the soprano
> part of the attached file? It first occurs in the 2nd half of bar 7, bottom
> of page 3. It seems to be related to the barLiner function I have (it goes
> away if I remove it), but I don't understand why this would affect the
> lyrics.
>
> Here's the function:
> barLiner = {
>   \repeat unfold 20 { s2 \bar "!" s2. }
>   \set Timing.measureLength = #(ly:make-moment 1/2)
>   s2 s2
>   \set Timing.measureLength = #(ly:make-moment 3/4)
>   s2. s2. \bar "|."
>
> }
>
> This is called with:
> \new Staff \with {
>     midiInstrument = "choir aahs"
>     instrumentName = "Soprano"
>   } { << \soprano \barLiner >> }
>   \addlyrics { \sopranoVerse }
>

Hi Jon,

I can't remember off the top of my head which Lilypond version things
changed but explicitly instantiating a voice has fixed this sort of thing
for me in the past:

} \new Voice { << \soprano \barLiner >> }

Vaughan

>

Reply via email to