lilypond-user
[Top][All Lists]
Advanced

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

Re: How can I let the ambitus engraver ignore the key signature?


From: M Watts
Subject: Re: How can I let the ambitus engraver ignore the key signature?
Date: Fri, 13 Feb 2009 08:05:31 +1000
User-agent: Thunderbird 2.0.0.18 (X11/20081105)

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.




reply via email to

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