[Top][All Lists]

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

Re: Automatic accidentals: voice/staff should be set separately

From: Neil Puttock
Subject: Re: Automatic accidentals: voice/staff should be set separately
Date: Sun, 9 Aug 2009 17:45:55 +0100

2009/8/8 Frédéric Bron <address@hidden>:

> For example, today, it is not possible to have neo-modern at voice level.
> Separating the level from the method would reduce the number of
> automatic types and would enlarge the possibilities.

The problem is that the Accidental_engraver has to be placed in the
Staff context in order to space individual accidentals properly;
though you could of course move the engraver to the Voice context,
then you'd have accidentals positioned on top of each other, since
there would be several AccidentalPlacement grobs created, each of
which would be ignorant of any accidentals other than its own cause.

A possible solution would be to rewrite the Accidental_engraver so
that the creation of AccidentalPlacement grobs is delegated to a
separate engraver, but then you'd probably end up with other problems
when setting accidental styles in the Staff context (since
localKeySignature would need to be read in every voice to ensure all
accidentals have been picked up).


reply via email to

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