Am 27.02.2016 um 03:22 schrieb William Marchant:
Hi All,
I have attached a snippet of code which shows a problem I have
encountered. Notice that in the first measure in Voice One, there is a
c16 tied to a c4, and below in Voice Two an e16 tied to e4. This I
expected. Note however, at the end of the first measure while the e16
is tied to the e4 in the next measure, the d16 below it is not tied to
the e4. As far as I can see the syntax is the same for both events, but
the result is different.
Different Voices? Different Times? Possible Bug? Can someone throw
any light on this for me?
You don’t need to begin and start again the two Voices for the time
signature change. Also, it’s much easier IMO to use << { … } \\ { … } >>
than explicitely adding Voices and using \voiceOne, \voiceTwo, and
\oneVoice.
Some other things I noticed:
I would put the \language "english" to the very beginning of the file
instead of somewhere into a music expression. I don’t know why it worked
there too, but it’s very unusual.
I assume that you write \new ChoirStaff and \new Staff because you’ll
have some more staves; until now it’s not necessary. But even with more
staves you’ll need \new Voice only in very few cases ;) Are you sure you
want to use ChoirStaff instead of StaffGroup? This doesn’t look like
choir music to me.
Oh, and you don’t need the ! to force the natural sign of the c;
LilyPond will put it there automatically because you’re in d major )
%%%%%
\version "2.18.2"
\language "english"
melody = \relative c' {
\key d \major
<<
{
e'4 d8 e16 c~ c4 b8 c16 a~ |
\time 2/4
a4 g16 fs8. |
}
\\
{
g4 g8. e16~ e4 d8. d16~ |
d4 d |
}
>>
\time 4/4
}
\score {
\melody
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user