|
From: | James |
Subject: | Re: New User Questions |
Date: | Wed, 23 Nov 2011 07:21:55 +0000 |
On 23/11/2011, at 12:18 pm, Brandon Pisani wrote:How is the counting supposed to proceed at the end of the repeated section?
> 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.
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:
\set Timing.measureLength = #(ly:make-moment 4 4) d2~ d
\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 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:
\alternative {
\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) d1. }
}
}
[Prev in Thread] | Current Thread | [Next in Thread] |