What I want to achieve in the end are different voicings for drum
notation using the same input notes. The different voicings are
described here:
<
https://www.onlinedrummer.com/blogs/drum-lessons/introduction-to-voicing-in-drum-notation
>
>From that web page is a good image showing what the different voicings
look like. There are 4 songs, each notated in the 3 common voicings.
See attached. To which the author writes:
<SNIP>
However in example 3, there are some added rests for the hands and feet
representation, that aren't in the other two representations. And that
is the challenge. Converting from one rhythmic representation to
another when notes are added or removed from a voice.
Hopefully that explains what I want to do. I want to input the drum
parts always in the same way and produce different output based on the
type of notation desired.
My knowledge of musical notation is limited, which is why I've been
asking the wrong questions. And now that I understand the problem
better, I don't think there is a solution within lilypond.
I think there's not an off-the-shelf solution within LilyPond.
To me this is asking for a \drumcombine function that mimics the \partcombine function for regular notes. I don't know how hard it would be to write that. But perhaps it could be modified from the current \partcombine function.
Carl