lilypond-user
[Top][All Lists]
Advanced

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

Re: Extraneous repeat with leading rest


From: Colin Hall
Subject: Re: Extraneous repeat with leading rest
Date: Mon, 28 Jan 2013 00:09:03 +0000
User-agent: mu4e 0.9.9.5-dev6; emacs 23.3.1

Todd Hesla writes:

> When processing a repeat block with a leading rest (and lyrics), Lilypond 
> 2.14.2
> adds an extraneous leading repeat sign where the lyrics start (after the 
> rest).
> The snippet below reliably reproduces the problem.  If the lyrics are removed
> (that is, if the "lyricsto" line is commented out), the extraneous repeat sign
> disappears.
>
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> \version "2.14.2"
>
> notes = \relative c' {
>   c4 c c c |
>   \repeat volta 2 { r c d e | f g a( b) | c1 | }
> }
>
> words = \lyricmode {
>   I want to sing.
>   \repeat volta 2 {
>     Cre -- ate in me a clean heart.
>   }
> }
>
> \score {
>   \new Staff <<
>     \clef treble
>     \time 4/4
>     \key c \major
>     \new Voice = "solo" \notes
>     \lyricsto "solo" \new Lyrics \words
>   >>
> }

Just had a play with this. I have never used \repeat within lyrics and I
was surprised to see that you had done so.

How about:

\version "2.14.2"

notes = \relative c' {
  c4 c c c |
  \repeat volta 2 { r c d e | f g a( b) | c1 | }
}

words = \lyricmode {
  I want to sing.
    Cre -- ate in me a clean heart.
}

\score {
  \new Staff <<
    \clef treble
    \time 4/4
    \key c \major
    \new Voice = "solo" \notes
    \lyricsto "solo" \new Lyrics \words
  >>
}

Cheers,
Colin.

-- 
Colin Hall



reply via email to

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