[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Note for manual
From: |
Erik Sandberg |
Subject: |
Re: Note for manual |
Date: |
Wed, 22 Feb 2006 13:26:16 +0100 |
User-agent: |
KMail/1.8.3 |
On Tuesday 21 February 2006 09.06, Graham Percival wrote:
> On 20-Feb-06, at 7:12 PM, Steve D wrote:
> > The graphical example doesn't seem to accurately illustrate the code
> > above it. The stems for notes on the middle line of the staff all point
> > down, despite "\override Stem #'neutral-direction = #up" (or #down).
>
> Thanks! BTW, such reports can be sent directly to the bugs list.
Not sure if it is a bug: neutral-direction is very seldom used, with the new
stem direction interpolation feature (see NEWS). I guess only very lonely
notes should be affected by neutral-direction. I think neutral-direction
should work as before if you remove the Melody_engraver (untested).
Han-Wen, the intended semantics of neutral-direction are a bit unclear to me.
I have two guesses:
1. If melody spanner can't decide which direction to use, use
neutral-direction instead. This seems to be the intended semantics, from
looking at melody-spanner.cc, but it doesn't seem to work. Try e.g.
{ \override Stem #'neutral-direction = #up b'4 }
2. neutral-direction should override melody-spanner's decisions. I suppose
this is the behaviour that most people would expect.
--
Erik