lilypond-user
[Top][All Lists]
Advanced

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

Re: last end bar must be a repeat


From: Marc Hohl
Subject: Re: last end bar must be a repeat
Date: Fri, 29 Apr 2011 08:12:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Am 29.04.2011 05:13, schrieb Music Teacher:
[...]

but doesnt work. Whats wrong?


voiceone = \relative c' { % \slurDotted
        r4 d8 d4 e8 fis4 e8 d4. d4 \breathe d8 d4 e8 fis4 g8 a4. a4 \breathe
a8 d4 cis8 d4 a8 b4 b8 a4 \breathe a8 a4 a8 g4 fis8 e4. d \bar "|:"
        d'4^\markup{Solo/Todos}^\markup{Al fin:} cis8 b4 a8 g4 fis8 e4 d8 e4.
d~d \bar ":|"
}
Why don't you use repeats? Bar checks would make the stuff more readable, too.

voiceone = \relative c' { % \slurDotted
        r4 d8 | d4 e8 | fis4 e8 | d4. |
        d4 \breathe d8 | d4 e8 | fis4 g8 | a4. |
        a4 \breathe a8 | d4 cis8 | d4 a8 | b4 b8 |
        a4 \breathe a8 | a4 a8 | g4 fis8 | e4. | d |
       \repeat volta 3 { % no need for  \bar "|:"
          d'4^\markup{Solo/Todos}^\markup{Al fin:} cis8 | b4 a8 | g4 fis8 |
          e4 d8 | e4. | d ~ | d
       } % repeat section ends here, no \bar ":|" needed either
}

But your code works with the corrections below.
lyricsone = \lyricmode {
         \set stanza = #"2. " Cor -- de -- ro sin pe -- ca -- do
         que~a las o -- ve -- jas sal -- va,
         a Dios y a los cul -- pa -- bles
         u -- nió con nue -- va~a -- lian -- za.
}

lyricstwo = \lyricmode {
         \set stanza = #"7. " Pri -- mi -- cia de los muer -- tos,
         sa -- be -- mos por tu gra -- cia
         que es -- tás re -- su -- ci -- ta -- do;
         la muer -- te~en ti no man -- da.
         A -- mén, a -- mén, a -- mén. A -- le -- lu -- ya.
}


\score {
        {
        <<
                \context Voice = voiceone {
                        \globalone
                        \voiceone
                        \bar "|."
The line above is the culprit, it overrides the settings you have chosen for \voiceone.
Just omit the \bar "|.".

HTH,

Marc




reply via email to

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