> I was reminded by a discussion on another list that one convention in
> printed music is that if the key signature changes, the former
> signature is first cancelled by use of naturals, and then the new key
> signature is written.
>
> There are a couple of ways to implement this convention. The
> old-fashioned rule is to always do it. A more modern rule is to do it
> only if the new signature has fewer sharps or flats than the old one.
>
> I don't believe that abc2ps uses either rule. Does any ABC program?
Old versions of abc2ps (ca. 1.2.2) would mix naturals into the key
signature, if there were fewer sharps/flats in the new key. And it
would cancel the key sig if it changed from flats to sharps or from
sharps to flats. Look at the draw_keysig, set_sym-glue, set_sym_widths,
and related functions in music.h to see how it's implemented.
The basic mechanism for this is still in the recent versions, but
certain points have been hard-coded to bypass it.
Eric
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html