David Kastrup wrote:
Hi, the following is an excerpt from a systematic listing of accordion
chords with different ambitus. The ambitus engraver should not heed the
first (arbitrary) key signature but rather engrave as though we were in
c major.
How do I do that?
I guess you discovered that if you try setting a key signature just for
the ambitus, then changing it for the music, results in the amusing
"warning: Two simultaneous key-change events, junking this one", which
doesn't work.
One solution is to add this line to each \new Voice:
\override AmbitusAccidental #'(glyph-name-alist) = #'((0 . null) (-1/2 .
null) (1/2 . null) (1 . null) (-1 . null))
The console spits out "warning: Could not find glyph-name for alteration
-1/2" etc. etc., but it seems to do the job.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user