|
From: | Kieren MacMillan |
Subject: | Re: Lyric problem when alternative begins with a rest |
Date: | Tue, 12 May 2009 11:20:48 -0400 |
Hi Tim,
I've lost where I found it now, so maybe I was just thought I was still in the documentation on the webpage I was browsing!
It might be there... I'm just surprised that the docs have such a thing (which clearly cause a problem).
But presumably I have to count up the bars and put in the appropriate number of silent rests? That seems clunky
Another [less radical] option is simply to leave the volta structure *in* your "melody" variable but *remove* it from your "words" variable:
\version "2.12.2" \include "english.ly" melody = \relative c' { \repeat volta 2 { c4 d e f | } \alternative { { g1 } { c,1 } } } words = \lyricmode { do re mi fa { so } { do } } \score { << \new Staff { \melody } \addlyrics { \words } >> }This should solve your problem (i.e., no spurious repeats) without requiring restructuring of your code.
Hope this helps! Kieren.
[Prev in Thread] | Current Thread | [Next in Thread] |