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
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond