|
From: | Dijkhuizen, J.F. van |
Subject: | RE: Three-note tremolo in 4/4 |
Date: | Wed, 17 Mar 2021 09:43:32 +0000 |
Hi Lukas, Thanks so much for this further refinement! You’re right that it isn’t really a hack (though that term was not at all meant as a criticsm!) and more of a workaround to make LilyPond do something
that’s entirely legitimate from a musical point of view. Ideally, the tremolo function in LilyPond would be revised along roughly the following lines: \repeat tremolo { (duration), (beam value), (musical arguments) } So for example: \repeat tremolo { (1), (32), (g c, d) } would yield a three-note tremolo with three beams and a duration of one whole note / semibreve / 4/4. This would pre-empt any clash between tremolo duration and time signature. Best wishes, Jan From: Lukas-Fabian Moser <lukasfabianmoser@googlemail.com>
On Behalf Of Lukas-Fabian Moser Hi Jan,
I think we needn't worry too much about that warning: It states that some calculation of stem lengths (which make sense for the "c32 g f" _expression_ if taken without the \repeat tremolo) yields an unlikely value. I don't understand the internals at the moment,
and I agree that it would be nice to have a solution that does not trigger warnings, but I wouldn't mind just suppressing the warning. Thanks to Aaron Hill, there's even a nice way to suppress the right amount (3) of expected instances of that warning (taken from
https://lists.gnu.org/archive/html/lilypond-user/2019-09/msg00326.html). So, what about: \version "2.22.0" I'm not even convinced that I would call this solution a "hack" (of course it's no use arguing about that term): - It is the correct music (try exchanging "tremolo" by "unfold"!). I think what I want to say is that none of this involves, for example, deviating from the actual semantics of entered music ("hijacking staccato dots and turning them into flower-symbols"), or explicitly abusing side-effects of commands, etc. Instead, we
write the actual music we want to hear and force-set only those layout parameters that LilyPond isn't at the moment ready to supply automagically. Lukas |
[Prev in Thread] | Current Thread | [Next in Thread] |