HI,
I know I read somewhere in the documentation on how to solve this problem, but the documentation is too large for me to search and I cannot find it. The problem is caused because a grace note anticipates the beat. When it is the first note in the first measure, lilypond tries to place the note before the first measure.
The solution I came up with is to place an invisible partial measure at the beginning of the piece. This hides the metronome indication, places the rest too far to the right, and the gracenote too far from the note it "graces".
Bye the way, an appoggiatura doesn't anticipate the beat. One of the pleas I have to the programmers is to distinguish the appogiatura from the gracenote in midi.
Stephen
<<attachment: grace-page1.png>>
<<attachment: grace-page.png>>
top = {
\key a \minor
\clef G
\time 3/4
\tempo 4=120
#(set-accidental-style 'modern)
% \partial 8 s8 \bar ""
R4*3*2^\markup {" " \raise #4.0 \italic \bold \bigger "Etwas langsam"} |
a16^\pp( \stemDown c' b d' c'8 a b gis) | \stemNeutral
\repeat unfold 2 { a( c'16) r <e gis b>2-> | }
a16( e' d' f' e'8 a b c') | }
bottom = {
\key a \minor
\clef F
\time 3/4
#(set-accidental-style 'modern)
% \partial 8 s8 \bar ""
\repeat unfold 2 { <<\appoggiatura dis8 e2. \\ \stemUp a,2.>> }
\repeat unfold 4 { <a, e>2. } }
\score {
\header {
piece = "Der Leiermann"
}
\context PianoStaff <<
\set PianoStaff.instrument = \markup { \bold \huge \bigger \bigger \bigger " 24." }
\context Staff = upper \transpose c g { \top }
\context Staff = lower \transpose c g, {\bottom}
>>
\layout { }
}_______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
