I typed in a four part tune and found that the time signature had to
be declared in each part. This seems strange because the time stuff
is handled by the score context, so I should only have to declare one
time signature for the music, it seems. The following version works,
but prints a warning. Is there any way to enter the time signature
only once for music like this? Even when I got warning messages, or
extra blank staff lines, I noticed that I always got the desired key
signature on all the staffs.
\score{
\type StaffGroup < \time 3/2;
\type Staff=treble \notes \relative c''{
r1 d2 | f4 f4 g2 f2 | d4 d4 c2 b2 | a4 [a8 g] a2 c2 |
f4 d4 e2 \bar "|:"; r2| r1. | r1 e2 | f4 [f8 e8] d2 c4()d4 |
e4 [e8 d8] c2 c4()e4 | d4 b a2 d2 | b4 [b8 c8] d2 c4()b |
a4 [a8 b] c2 d4.()c8 | b4 a4 a1 }
\type Staff=alto \notes \relative c'{
r1 d2 | a'4 a g2 a | f4 f e2 d | d4 d f2 f2 | a4 g4 a2 \bar "|:"; r2 |
r1 d,4()f | g [g8 f] g2 a4()g | a4 [a8 g8] a2 d,4()f | a4 a e2 e4()c |
f4 d4 e2 d2 | g4 a4 g2 f4()g | a4 [a8 g8] f2 g4.()f8 | d4 c d1 }
\type Staff=tenor \notes\relative a { \clef "G_8"; r1 a2 |
d4 d d2 c2 | a4 a a2 g2 | a4 [a8 b8] c2 a2 | c4 b4 a2 \bar "|:"; a2 |
d4 [d8 c8] d2 a4()c | d [d8 c8] d2 d4()c | d4 [d8 c8] d2 a4()b |
c4 [c8 b] a2 c4()a | a4 g4 c2 a2 | g4 a4 b2 a4()c |
d d a2 g4.()f8 | g4 a4 <d1 d,1> }
\type Staff = bass \notes\relative a, { \clef bass; r1 a2|
d4 d4 <g,2 g'2> <a2 a'2> | d4 d <a2 a'2> <g2 g'2> |
d'4 d <c2 f2> <a2 a'2> | <f4 f'4> <g4 g'4><a2 a'2> \bar "|:"; <a2 a'2>|
d4 d4 d2 d2 | <g,4 g'4> <g4 g'4> <g2 g'2> <a4~ a'4><c4 e4> |
d4 d4 d2 d2 | a4 a a2 a4()c | d4 <g,4 g'4> <a2 a'2> d2 |
<g,4 g'4> d'4 g2 f4()e | d4 [d8 c] d2 c4.~ <a8 d8> |
<g4 g'4><a4 a'4> d1 }
>
\paper{indent=0.0}
\midi{\tempo 2 = 60;}
}
Also, when I compared this to the printed copy I have of the same
music, I noticed that in the book I have, slurs cross note stems. No
effort is made to avoid this. Is there any way to change the behavior
of LilyPond so that slurs can cross stems? (If not, maybe there
should be a property that can be set to allow slurs to cross stems?)
I noticed that \relative and \transpose interact in an odd way.
\score{
\notes \relative des \transpose des' { \key e; e fis gis a b cis dis e }
\paper{linewidth = -1.0}
}
I'm not quite sure what to expect the above to do, but what it does
(lilypond version 1.0.9) is definitely a surprise. The first measure
gets a different transposition than the second measure. (If this
happened in a different place, I might understand it as a result of
the argument to \transpose being reinterpreted.)
This one is even stranger:
\score{
\notes \relative des \transpose des { \key e; e fis gis a b cis dis e }
\paper{linewidth = -1.0}
}
It goes down a 7th for each note.
Of course, the simple solution is to avoid using \transpose inside
\relative, but it might be desireable to do one of two things: change
the behavior so that it makes some kind of sense, or print a warning
message of some sort. One place where this could be particularly
surprising is inside .fly files where there is an implicit \relative.
If you use \transpose inside a .fly file, you'll see the weird
behaviors.