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: Phil Holmes
Subject: Re: Lyrics disappear with associatedVoice in a duet
Date: Thu, 15 Nov 2012 09:06:46 -0000

----- Original Message ----- From: "Eric van Gyzen" <address@hidden>
To: <address@hidden>
Sent: Thursday, November 15, 2012 5:05 AM
Subject: Lyrics disappear with associatedVoice in a duet


Fellow Lilypond Users:

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.

Here is the tiniest example I can write:

========
\version "2.16.0"  % also tried 2.17.6

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


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.

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




--
Phil Holmes



reply via email to

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