On 21/02/2025 09:45, Thomas Scharkowski wrote:
The first example in 2/4 produces the short stem of the third 32nd note
pointing to the right.
In 2/8 it is correct.
Why?
Btw, I solves using \set stemRightBeamCount = #2 \set stemLeftBeamCount = #3,
but this should not be necessary.
Whilst I have no insight into how the beaming algorithm functions, I
would suspect a rounding error from the division by 3. A small delay to
the 32nd note fixes the beam (but requires explicit [ ] to span the
silence). As things stand, it looks like LilyPond must be coerced by
some means into beaming correctly. Versions 2.24 and 2.25 behave
differently, implying an update to the beaming algorithm.
\version "2.24.0" \score { \new Staff { \time 2/4 << \repeat unfold 2 {
a'16.*8/9[ s32*1/27 32*35/27 16.*8/9 32*4/3] } \\ \repeat unfold 2 {
a16.*8/9 32*4/3 16.*8/9 32*4/3 } >> } }
--
Timothy Lanfear, Bristol, UK.