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: Todd Hesla
Subject: Re: Extraneous repeat with leading rest
Date: Sun, 27 Jan 2013 23:02:26 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Colin,

Interesting.  The code you presented actually works, despite not following the
guidelines in the Notation Reference (Section 2.1.2, "Techniques specific to
lyrics", subsection "Lyrics and repeats"), where it it clearly says that one
should use a parallel "repeat" construct inside the lyrics definition.

So maybe it's actually a documentation bug, not a code bug per se?

But thanks very much for the code suggestion--it will enable me to avoid doing
the repeat manually (not that that would be such a tragedy).

Best,

-- 
Todd Hesla



On Mon, Jan 28, 2013 at 12:09:03AM +0000, Colin Hall wrote:
> Date: Mon, 28 Jan 2013 00:09:03 +0000
> To: Todd Hesla <address@hidden>
> From: Colin Hall <address@hidden>
> Subject: Re: Extraneous repeat with leading rest
> 
> 
> 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]