Greetings,
In the following measure of code, there are several instances of
double-stemming. The single notes and triads merge correctly, but the
four-note chords do not. I feel like the reason and solution should be
straightforward, but I cannot seem to wrap my head around the
situation. Any help would be greatly appreciated. Please forgive the
slight length of the code. I have also attached the pdf output.
What would you like to have happen with double-stemming when the chord includes an interval of a second?
For a chord not including a second, the stem is on the left side for a down stem and on the right side for an up stem.
For a chord including a second, both the down stem and the up stem have the same position. For a quarter-note or half-note chord, that notation would be confusing. For an eighth-note or shorter chord, the flags or beams can show the direction of the stem.
It seems to me that if you want to have a chord containing a second in two voices, the current LilyPond way of doing it is correct for quarter note or longer chords. If there is a problem, it is that we might not need to do it that way for shorter chords.
Carl