[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: time
From: |
Noeck |
Subject: |
Re: time |
Date: |
Sun, 09 Dec 2012 19:08:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Am 09.12.2012 18:09, schrieb Christopher Brooks:
> *Why does this work:*
> \score {
> \repeat volta 2 {
> \time 3/4 …
> }
> }
> *But this doesn’t?*
> \score {
> \time 3/4
> \repeat volta 2 { …
> }
>
> }
> I moved \time 3/4 before \repeat volta.
Because the music must be included in braces { }. With the \repeat
command the \time and the notes are a combined muscial expression. But
with the \time command before \repeat you have two muscial expressions
at toplevel in the score: \time and \repeat and LilyPond can not guess
how to put staves and voices around.
An extra pair of braces solves it:
\score {
{
\time 3/4
\repeat volta 2 {
<d'-0 a'-0>8. a'16 d'8 a' d'16 a'8.
}
}
}
(If my explanation is wrong, more experienced people can probably tell
you more.)
Cheers,
Joram
- time, Christopher Brooks, 2012/12/09