Dear Lilypond
How can I (globally) manipulate the tie / stem direction of acciaccature, grace
notes, appoggiaturae?
Here are two simplified examples:
The first example (acciaccatura example) is correct
[cid:ad347971-5194-4cd0-a45a-8bb2fbadb7a3]
The second example uses my simplified piano template. I am unable to get the
stem direction and tie / slur to display correctly, short of adding commands to
each individual note.
Is there a problem with my template? Please note that there is no music
present in any other voice in this example.
[cid:beb5c7e1-8258-4389-8eb8-86ce65d3904d]
Changing stem direction also changes the stem direction of the grace note.
I have a piece which uses a lot of acciaccature, so changing each of these
individually would be very time-consuming.
Code for both is at bottom.
Thanks in advance
dirck
Acciaccatura example:
\header{
title = "acciaccatura example"
}
\relative c''
{
c1 \acciaccatura g'8 <g g'>4 g g g
}
\version "2.22.1"
Simplified piano template
\version "2.22.1"
\header {
title = "simplified piano template"
}
global = {
\key c \major
\numericTimeSignature
\time 4/4
}
rightOne = \relative c'' {
\global
% Music follows here.
c1 \acciaccatura g'8 <g g'>4 g g g
}
rightTwo = \relative c'' {
\global
% Music follows here.
}
rightThree = \relative c' {
\global
% Music follows here.
}
rightFour = \relative c' {
\global
% Music follows here.
}
SpacingVoice = \relative c' {
\global
% Music follows here.
}
leftOne = \relative c' {
\global
% Music follows here.
s1 s1
}
leftTwo = \relative c' {
\global
% Music follows here.
}
leftThree = \relative c' {
\global
% Music follows here.
}
leftFour = \relative c' {
\global
% Music follows here.
}
\score {
\new PianoStaff <<
\new Staff = "right" \with {
midiInstrument = "acoustic grand"
} << \rightOne \\ \rightTwo \\ \rightThree \\ \rightFour \\ \SpacingVoice >>
\new Staff = "left" \with {
midiInstrument = "acoustic grand"
} { \clef bass << \leftOne \\ \leftTwo \\ \leftThree \\ \leftFour>> }
>>
}