lilypond-user
[Top][All Lists]
Advanced

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

RE[2]: Lilypond - 2 voices in 1 score - cannot add lyrics


From: Frank . Weichert
Subject: RE[2]: Lilypond - 2 voices in 1 score - cannot add lyrics
Date: Fri, 17 Oct 2008 20:27:03 +0200 (MEST)

many thanks

this example is the only one witch works.

---
Frank

>If you read 
>http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Score-is-a-_0028single_0029-compound-musical-expression#Score-is-a-_0028single_0029-compound-musical-expression
>and realize that the lyrics is not part of the Staff in LilyPond (in 
>contrast to what you intuition
>might tell you), you should fairly soon be able to come up with the 
>following version:
>
>\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 {
>\voiceOne
>        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' {
>\voiceTwo
>        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"
>     <<
>    \context Voice = "StimmeI" { \StimmeI }
>
>    \context Voice = "StimmeII" { \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 {
>       }
>
>
>    /Mats
>
>Jonathan Kulp wrote:
>> I got some of the lyrics to appear but not all.  I've never done more 
>> than one verse before.  Hope this helps somewhat.  I don't have time 
>> to fiddle with it more although my curiousity begs me to :)
>>
>> Code:
>>
>> \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 {
>> \voiceOne
>>         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' {
>> \voiceTwo
>>         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"
>>      <<
>>     \context Voice = "StimmeI" { \StimmeI }
>>
>>     \context Voice = "StimmeII" { \StimmeII }
>>     \addlyrics { \verseI \verseII \verseIII }
>>      >>
>>      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 {
>>        }
>>
>>
>> Mats Bengtsson wrote:
>>> Make sure that you don't use any curled double quotes in your file. 
>>> If you copied the solution
>>> It seems that your
>>> text editor is playing you some tricks.
>>>
>>>    /Mats
>>>
>>> address@hidden wrote:
>>>> Thanks,
>>>>
>>>> but the problem still exists
>>>>
>>>> StimmeI = \new Voice = "StimmeI"
>>>>     \relative c {
>>>>
>>>> StimmeII = \new Voice = "StimmeII"
>>>>     \relative c {
>>>>
>>>>
>>>> %lilypond %args "D:\Noten\Stimme\Stimme.ly"
>>>> »D:/Noten/Stimme/Stimme.ly« wird verarbeitet
>>>> Analysieren...
>>>> Interpretation der Musik...
>>>> D:/Noten/Stimme/Stimme.ly:73:58: Warnung: Stimme kann nicht gefunden 
>>>> werden: »StimmeI«
>>>>         \context Lyrics = "StropheI" \lyricmode { 
>>>>                                                           \lyricsto 
>>>> "StimmeI" \verseI }
>>>> Interpretation der Musik...[8]
>>>> D:/Noten/Stimme/Stimme.ly:73:58: Warnung: Stimme kann nicht gefunden 
>>>> werden: »StimmeI«
>>>>         \context Lyrics = "StropheI" \lyricmode { 
>>>>                                                           \lyricsto 
>>>> "StimmeI" \verseI }
>>>> [9]
>>>> Vorverarbeitung der grafischen Elemente...
>>>> D:/Noten/Stimme/Stimme.ly:47:14: Warnung: zu viele kollidierende 
>>>> Notenspalten werden
>>>> ignoriert
>>>>     a2 g4               g4 |
>>>> D:/Noten/Stimme/Stimme.ly:47:11: Warnung: zu viele kollidierende 
>>>> Notenspalten werden
>>>> ignoriert
>>>>     a2            g4 g4 |
>>>> D:/Noten/Stimme/Stimme.ly:47:8: Warnung: zu viele kollidierende 
>>>> Notenspalten werden
>>>> ignoriert
>>>>         a2 g4 g4 |
>>>> D:/Noten/Stimme/Stimme.ly:46:26: Warnung: zu viele kollidierende 
>>>> Notenspalten werden
>>>> ignoriert
>>>>     f4. f8 e8. e16 f8                           g8 |
>>>>
>>>>
>>>> Regards, Frank
>>>>
>>>>
>>>>  
>>>>> You have to name the voice StimmeI and StimmeII. Try StimmeI = 
>>>>> \new  Voice = "StimmeI" \relative c { music } and StimmeII = \new 
>>>>> Voice =  "StimmeII" \relative c' { music }
>>>>> Am 17.10.2008 um 16:52 schrieb address@hidden:
>>>>>
>>>>>   
>>>>>> 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
>>>>>>       
>>>>>
>>>>> _______________________________________________
>>>>> lilypond-user mailing list
>>>>> address@hidden
>>>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>>     
>>>>
>>>>
>>>> _______________________________________________
>>>> lilypond-user mailing list
>>>> address@hidden
>>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>   
>>>
>>
>
>-- 
>=============================================
>       Mats Bengtsson
>       Signal Processing
>       School of Electrical Engineering
>       Royal Institute of Technology (KTH)
>       SE-100 44  STOCKHOLM
>       Sweden
>       Phone: (+46) 8 790 8463                         
>        Fax:   (+46) 8 790 7260
>       Email: address@hidden
>       WWW: http://www.s3.kth.se/~mabe
>=============================================
>
>
>
>_______________________________________________
>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]