From the original, I think there are in fact 2 different scores: one
with the refrain, one with the stanza. It would also be a solution to
split your lilypond source into two different \score{ }s. This also
solves the apparent timing issues -- however, not how refrain and stanza
attach.
Like so (just in one file):
refrain = \relative c' {
clef, key, time, ...
... notes of the upper staff ...
}
melody = \relative c' {
clef, key, time, ...
... notes of lower 2 staves ...
}
\score {
\new Staff \refrain
\layout {
% mimic appearance of original
indent = #'0
ragged-right = ##f
}
}
\score {
\new Staff \melody
\layout {
indent = #'0
}
}
<pedant>
Bar checks are very useful. Please don't do without them.
</pedant>
Rutger
On 11/23/2011 04:15 AM, Matthew Collett wrote:
On 23/11/2011, at 12:18 pm, Brandon Pisani wrote:
Second, and here's the rub, I'm trying to put this piece of music
(http://www.wtv-zone.com/phyrst/audio/nfld/06/ble.htm) into the program using the code
after the signature on this message. What I'm running into: without the \bar
"|" there's no bar between the new time signature and the rest of the music. If
I put in bar checks, I get errors.
How is the counting supposed to proceed at the end of the repeated section?
Lilypond wants to finish the 6/4 bar that you are 4 crotchets into. If that is
also what you want, then just change to 4/4 four beats earlier than you are
(i.e. at the end of a full bar of 6/4).
If you want to throw away the two remaining crotchets in that bar and start
with a fresh bar of 6/4, then you will have to engage in some trickery to make
Lilypond play along:
\repeat volta 2 {
c'4 b8 a g4 c c c c b8 c d4 e d c d e
\set Timing.measureLength = #(ly:make-moment 4 4) d2~ d
}
\set Timing.measureLength = #(ly:make-moment 6 4)
If you want to prolong the final note of the repeat to fill out the full bar,
use alternate endings. Unfortunately, the same trickery is still required - in
this case Lilypond ought to be able to figure out the need for partial bars
itself, but currently it needs help to do so:
\repeat volta 2 {
c'4 b8 a g4 c c c c b8 c d4 e d c d e
\alternative {
{
\set Timing.measureLength = #(ly:make-moment 4 4) d2~ d
}
{ \set Timing.measureLength = #(ly:make-moment 6 4) d1. }
}
}
Best wishes,
Matthew
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user