lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics disappear with associatedVoice in a duet


From: Trevor Daniels
Subject: Re: Lyrics disappear with associatedVoice in a duet
Date: Thu, 15 Nov 2012 15:24:55 -0000

Phil Holmes wrote Thursday, November 15, 2012 9:06 AM

> From: "Eric van Gyzen" <address@hidden>
>
>> I'm writing a vocal duet on a ChoirStaff with lyrics between two staves. 
>> When one voice rests, I'm trying to use associatedVoice to make the lyrics 
>> follow the other voice.  I would expect the lyrics to remain between the 
>> staves, but the lyrics disappear completely.
>
> I can get the voice switch to work by (a) reading the NR, where it says 
> "\set associatedVoice = "two" % must be set one syllable early" and (b) 
> creating the alto part before we try to set the lyrics to it.  However, the 
> lyrics seem stuck below the music for me.

Read NR 5.1.7, give the Staff context a name and
use alignBelowContext:

\new ChoirStaff <<
     \new Staff = "SopranoStaff"
     \new Voice = "SopranoVoice" \relative c' { c4 d e f r1 }
     \new Staff
     \new Voice = "AltoVoice" \relative c' { r1 f4 e d c }
     \new Lyrics \with { alignBelowContext = "SopranoStaff" }
     \lyricsto "SopranoVoice" {
         So -- pran -- os
         \set associatedVoice = #"AltoVoice"
         rule.
         Al -- tos are cool.
     }
 >>

Trevor

reply via email to

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