lilypond-user
[Top][All Lists]
Advanced

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

Re: Cannot get the lyrics in polyphony


From: Eduardo Vieira
Subject: Re: Cannot get the lyrics in polyphony
Date: Tue, 18 Apr 2006 09:18:48 -0300

Hello Riccardo,
That is a common stumbling for lilypond users. In your case you have to
avoid the construct << \\ >> and explicitly create a voice context. See
"Explicitly Instantiating Voices" in the manual. Anyway, this should make
you score work:
nogood = \relative do'' {
    << \new Voice = nogood { \voiceTwo do2 re8 mi8  fa8 sol8 }
       { \voiceOne   mi2 fa8 sol8 la8 si8  } >> \oneVoice |
    << \context Voice = nogood { \voiceTwo do1 } { \voiceOne sol1} >>
\oneVoice
}

Eduardo Vieira

----- Original Message -----
From: "Riccardo Orfei" <address@hidden>
To: <address@hidden>
Sent: Tuesday, April 18, 2006 6:56 AM
Subject: Cannot get the lyrics in polyphony


> Hi all,
>
> can somebody explain my mistake in coding the following example?
>
> If I code the music like "nogood" I cannot get any lyrics.
>
> I can only get the lyrics if I code the music like "good".
>
> Why?
>
> There is surely something I am missing...
>
> Ciao,
> Ric
> ===========================
> \version "2.8.0"
> \header { title = "Prova" }
> \include "italiano.ly"
> global = { \time 4/4}
> nogood = \relative do'' {
>     << { \stemDown do2 re8 mi8  fa8 sol8 } \\
>        { \stemUp   mi2 fa8 sol8 la8 si8  } >> |
>     << { \stemDown do1 } \\ { \stemUp sol1} >>
> }
> good = \relative do'' {
>     < do mi >2 < re fa >8 < mi sol >8 < fa la >8 < sol si >8
>     < do sol >1
> }
> voce = \lyricmode {
>     ah oh eh ih ah oh
> }
> \score { <<
>     \new Staff {
>         \global
>         \context Voice = nogood { \nogood }
>         \context Voice = good   { \good   }
>     }
>     \override Score.LyricText #'font-family = #'sans
>     \new Lyrics \lyricsto "good"    \voce
>     \new Lyrics \lyricsto "nogood"    \voce
>    >>
>    \layout { }
>    \midi { \tempo 4=90 }
> }
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>





reply via email to

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