lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond - 2 voices in 1 score - cannot add lyrics


From: Jonathan Kulp
Subject: Re: Lilypond - 2 voices in 1 score - cannot add lyrics
Date: Fri, 17 Oct 2008 11:53:35 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

This score block seems to do the trick:


\score {
     \new Staff {
     \time 4/4
     \key c \major
     \clef "G_8"
     <<
        \context Voice = "StimmeI" { \StimmeI }

        \context Voice = "StimmeII" { \StimmeII }
        \addlyrics { \verseI }
        \addlyrics { \verseII }
        \addlyrics { \verseIII }
     >>
     r4 s4
     \bar "|."        

}
                
\midi {
        }

\layout  {
         }
}

\paper {
       }


address@hidden wrote:
Hi,

when I put 2 voices into 1 staff I cannot add lyrics.

Console-Error-Message is (backtranslatet from german):
\context Lyrics = "StropheI" \lyricmode { -> \lyricsto "StimmeI" \verseI } StimmeI not found

What I'm doing wrong?

This is complete example:

\version "2.10.33"

\header {
        title = "Wem Gott will rechte Gunst erweisen"
        subtitle = "(J.von Eichendorff,1788-1857)"
        composer = "Th.Fröhlich (1803-1834)"
        tagline = "F.W. SAV Eningen 20081016"
}

\include "deutsch.ly"

verseI= \lyricmode {
        \set stanza = "1."    
        Wem Gott will rech -- te Gunst er -- wei -- sen,
        den schickt er in die wei -- te Welt;
        dem will er sei -- ne Wun -- der wei -- sen
        in Berg und Wald und Strom und Feld.
}
verseII= \lyricmode {
        \set stanza = "2."
        Die Bäch -- lein von den Ber -- gen sprin -- gen,
        die Ler -- chen schwir -- ren hoch vor Lust,
        was sollt' ich nicht mit ih -- nen sin -- gen
        aus vol -- ler Kehl und fri -- scher Brust?
        
}
verseIII= \lyricmode {
        \set stanza = "3."
        Den lie -- ben Gott laß ich nur wal -- ten,
        der Bäch -- lein, Ler -- chen, Wald und Feld
        und Erd' und Him -- mel will er -- hal -- ten,
        hat auch mein' Sach' aufs best' be -- stellt.
}
StimmeI =
       \relative c {
        s2. c4 |
        e g c8. h16 c8 a8 |
        g2 e4 g4 |
        f8. e16 f8 d8 e4 c |
        d2 r4 d8 ~ e8 |
        f4. f8 e8. e16 f8 g8 |
        a2 g4 g4 |
        c8. h16 c8 d8 e4 d4 |
        c2
}

StimmeII =
      \relative c' {
        s2. c,4 |
        c e a8. gis16 a8 f8 |
        e2 c4 e4 |
        d8. cis16 d8 h8 c4 c|
        h2 r4 h8 ~ c8 |
        d4. d8 c8. c16 d8 e8 |
        f2 e4 g4 |
        e8. d16 e8 f8 g4 f4 |
        e2
}

\score { \new Staff {
     \time 4/4
     \key c \major
     \clef "G_8"
     << \StimmeI \\ \StimmeII >>
     r4 s4
     \bar "|."        
     \context Lyrics = "StropheI" \lyricmode { \lyricsto "StimmeI" \verseI }
     \context Lyrics = "StropheII" \lyricmode  { \lyricsto "StimmeI" \verseII }
     \context Lyrics = "StropheIII" \lyricmode  { \lyricsto "StimmeI" \verseIII 
}
}
                
\midi {
        }

\layout  {
         }
}

\paper {
       }

--
Regards, Frank


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
Jonathan Kulp
http://www.jonathankulp.com




reply via email to

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