[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New User Questions
From: |
Matthew Collett |
Subject: |
Re: New User Questions |
Date: |
Wed, 23 Nov 2011 16:15:15 +1300 |
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