Neil Puttock <n.putt...@gmail.com> writes: > 2010/1/27 Carl Sorensen <c_soren...@byu.edu>: > >> I don't think there is a way to do this better as the code sits now. The >> accidentals in the ambitus are AmbitusAccidentals, and are create by the >> Ambitus_engraver, so the standard accidental styles (which might do what you >> want) don't apply. > > Agreed. I think you'd have to add a property to the Ambitus_engraver > which tells it to ignore the key signature.
Well, I don't like extra interfaces. I would be quite interested to know why the posted code actually works, engraving the proper key and using correct accidentals for it. Is it because the Ambitus engraver pulls its signature from the Voice context (where the engraver sits), while the standard accidental engraver and key signature engraver take it (unmodified) from the Staff, where it presumably is set by the \key command? Then probably per-voice accidentals would cease working. Maybe it would be possible to just make \override Ambitus #'keySignature = #'() work as expected. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel