lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics problem


From: David Kastrup
Subject: Re: Lyrics problem
Date: Sun, 02 Oct 2016 21:18:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Jacques Bedaux <address@hidden> writes:

> Hi all
>
> I have a problem with lyrics in a voice that splits in two parts for
> only one or two measures, so you don't want to make two different
> voices. Lilypond gets confused and skips a part of the music.
>
> Who could solve this problem for me?
>
> Thanks in advance,
>
> Jacques
>
> My minimum example is:
>
> \version "2.18.2"
>
> text = \lyricmode { This is nice This is nice }
>
> musicOne = \relative c' {
>   e4 f g2 e4 <<{f8( a)  c2}\\{f,4 g2}>>
>   }
> musicTwo = \relative c' {
>   c4 d e2 c4 d e2
> }
>
> \score{
>   \new StaffGroup <<
>     \new Staff <<
>       \new Voice ="one" { \musicOne }
>     >>
>     \new Lyrics \lyricsto "one" { \text }
>     \new Staff <<
>       \new Voice ="two" { \musicTwo }
>     >>
>     \new Lyrics \lyricsto "two" { \text }
>   >>
> }

You can get this to work by just replacing every occurence of "one" with
"1" (including quote marks).  The reason is that << ... \\ ... >> uses
the voices "1" and "2", and in that manner, your \lyricto "1" will still
have one reference to cling while the voices are split.

I am not sure that the \voiceOne settings will be both heeded as well as
reverted by this construct: too lazy to try.

-- 
David Kastrup



reply via email to

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