lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change stem direction based on position of note in staff?


From: Lukas-Fabian Moser
Subject: Re: Change stem direction based on position of note in staff?
Date: Wed, 4 Sep 2024 18:22:08 +0200
User-agent: Mozilla Thunderbird

Hi Stefano,

Am 01.09.24 um 22:29 schrieb Stefano Antonelli:
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.

Lukas


    

reply via email to

[Prev in Thread] Current Thread [Next in Thread]