bug-lilypond
[Top][All Lists]
Advanced

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

Re: automatic accidental style voice: too many written accidentals


From: Trevor Daniels
Subject: Re: automatic accidental style voice: too many written accidentals
Date: Sun, 25 Oct 2009 21:46:18 -0000


Frédéric Bron wrote Sunday, October 25, 2009 6:45 PM

Here is my first post:

In voice style, when switching from one voice to two voices, the
program writes too much accidentals.
This example demonstrates the problem (2.12.2 and 2.13.6): the second
bes should not have a written flat.

\relative c'' {
      #(set-accidental-style 'voice)
      \key f \major
      bes1
      << { bes } \\ { g } >>
}

This is not a bug.  The two voices in the <<  \\  >> construct are
distinct from the main voice.  This is explained in the Learning
Manual in section 3.2.1.   You have requested accidentals
to be cancelled only within a voice, and the second bes is in
a different voice to the first bes, so it should be given an accidental.
The default accidental style will behave as you expect as this
cancels accidentals for all voices within a staff.

That probably explains why it wasn't added to the bug tracker
the first time around.

Trevor





reply via email to

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