bug-lilypond
[Top][All Lists]
Advanced

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

Re: Stem neutral-direction bug


From: Jean Abou Samra
Subject: Re: Stem neutral-direction bug
Date: Fri, 10 Jun 2022 08:50:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Le 10/06/2022 à 08:40, Xavier Scheuer a écrit :
On Fri, 10 Jun 2022 at 02:54, Ahanu Banerjee <ahanuban@gmail.com> wrote:
% unexpected warning with rests inside tuplet:
% "direction of grob Stem must be UP or DOWN; using UP"

\version "2.23.9"
\layout {
   \context {
     \Voice
     \consists "Melody_engraver"
     \override Stem #'neutral-direction = #'()
   }
}

{ \tuplet 3/2 { r4 r r } }
Hello,

It looks like #6093 but it has been fixed and closed (and I don't
understand the ins and outs of the discussion between developers).
https://gitlab.com/lilypond/lilypond/-/issues/6093



Previously, you needed \override Stem.neutral-direction = #'()
to signal that you allowed LilyPond to set the neutral direction
itself. This did not work well because the Melody_engraver does
not do this in all cases, like for rests. That left the rest's
stem (yes, it exists) without a direction. If something (like a
tuplet) requested the direction, that could go wrong. This one
appears to have worked by accident. In 2.23,

- Warnings have been added for this, so while this worked
  for the wrong reason before, it now warns.
- The override has been made unnecessary.

The solution is to simply remove it.

Best,
Jean






reply via email to

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