[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vertical axis grob error
From: |
tisimst |
Subject: |
Re: Vertical axis grob error |
Date: |
Tue, 10 Feb 2015 17:42:11 -0700 (MST) |
Chris Trahan wrote
> The 1st three verses of the song are arranged like this. (Not actual score
> code, just a structure example.)
>
> \repeat volta 3 {
> \repeat volta 2 {
> c d e f }
> \alternative {
> { a b c d }
> { d c b a }
> }
> c d e f g a b c
> }
>
> The strange thing is that if I code it this way, the errors go away.
>
> \repeat volta 3 {
> \repeat volta 2 {
> c d e f }
> \alternative {
> { a b c d \break }
> { d c b a }
> }
> c d e f g a b c
> }
>
> The basic structure of the piece is the \repeat volta 2 { ... }
> \alternative { { a b .. } { a b ..} } ... some more music ...
>
> It starts with three verses which is why I have the \repeat 3 { } section
> above, then the volta 2 structure is used for each succeeding verse.
>
> Overall layout is 3 verses, interlude, verse, verse, interlude, final
> verse. All of this is in an SATB score. This is why I'm having trouble
> isolating the problem.
Chris,
If I were structuring a song as you described, I would NOT use the first
"\repeat volta 3", unless EVERYTHING were supposed to repeat. Here's how I
would do it:
%<--------------------- SNIP
\relative c' {
% first interlude
c d e f
% start repeated verses
\repeat volta 2 {
c d e f
}
\alternative {
{ f e d c }
{ g' a b c }
}
% second interlude
c c b a
% final verse
g e c c
}
%<--------------------- SNIP
<http://lilypond.1069038.n5.nabble.com/file/n171710/repeat-verses.png>
I get no errors with this, but is that not what you're after? Maybe I'm
misunderstanding something...
- Abraham
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Vertical-axis-grob-error-tp171706p171710.html
Sent from the User mailing list archive at Nabble.com.