On Sun, 2024-09-01 at 13:44 +0200, Lukas-Fabian Moser wrote:
So you want to enter (for instance) the Cr part as a separate
LilyPond voice? In this case something like 1 R1 1 R1 or even \breve
\breve? (The point being is that you want to enter durations and
rests, even though they are in some sense arbitrary?)
Yes they are in some sense arbitrary due to the nature of drums.
What I'd like to see is a syntax like this:
\beatOne = \drummy {
{hihat},
{snare}.
{bass drum},
}
Which can then be combined with:
\beatTwo = \drummy {
{hihat},
{high tom},
{low tom},
{snare},
{bass drum},
{pedal hihat},
}
I must admit I don't fully understand this proposal. Where/how would
you enter, for instance, a hihat tick on the second quaver in a bar?
In the example you posted, they seem not to do anything. But from
reading the source, I think they are supposed to act in situations
where LilyPond would create two simultaneous rests, in order to
decide which one to keep.
A workaround then for when the python code creates something ambiguous?
Or is it handling the case where a rest occurs in both voices at the
same time?
The latter I think.