To superimpose two notes on top of each for a complex grace note structure, I
have done the following, using multiple voices and shifts. When I use this
technique inside my large complex score, the notes I am trying to superimpose
push each other away as north pole to north pole magnets. What override may I
be missing? In general, how to superimpose notes - precisely the opposite of
avoiding collisions.
\version "2.19.18"
treble = \relative c'' {
}
bass = \relative c' {
\clef bass
\time 1/4
<<
{
s4
\acciaccatura {
\stemUp
\bar ""
\once \override Beam.positions = #'(5 . 5)
\once \override NoteHead.X-offset = #-3
\once \override Stem.X-offset = #-2
\once \hide NoteHead
\once \hide Accidental
cis,8[ \slurUp
\change Staff = "treble" \stemDown
a''8 <a g'>8]
\once \override Staff.BarLine.transparent = ##f
\bar "|"
\change Staff = "bass"
}
}
\new Voice {
\voiceThree
\change Staff = "treble"
s4
\grace { g'8 }
}
\new Voice {
\voiceTwo
\stemUp
\tuplet 7/8 {ees,,,32 b16 g'16. cis32 } |
}
>>
\stemUp
\once \override NoteHead.X-offset = #12
\once \override Stem.X-offset = #13.2
cis32
s4
}
\score {
\new PianoStaff
<<
\new Staff = "treble" \with {
}
{ \treble }
\new Staff = "bass" \with {
}
{ \bass }
>>
\layout {
\context {
\Score
\accidentalStyle Score.dodecaphonic
proportionalNotationDuration = #(ly:make-moment 1/48)
\override SpacingSpanner.uniform-stretching = ##t
\override Score.SpacingSpanner.strict-note-spacing = ##t
}
}
}
Andrew
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user