]> git.donarmstrong.com Git - lilypond.git/commit
use correct left to right ordering in keySignature list
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 30 Nov 2008 20:08:49 +0000 (21:08 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 23 Feb 2009 14:08:52 +0000 (15:08 +0100)
commit229a64ff74ab2edf6ea5442f13ac4eecb03ea1e9
tree5ea3c82d9b7e27adf72076cb15783249b3109f3b
parent05f1bf04283c17cad4695145e8145670741a3260
use correct left to right ordering in keySignature list

The keySignature property list of the KeySignature so far was using
reversed order (e.g. the rightmost accidental came first). This was
quite confusing when manually setting non-standard key signatures like
  \set Staff.keySignature = #`(((0 . 3) . ,SHARP)
                               ((0 . 5) . ,FLAT)
                               ((0 . 6) . ,FLAT))
In this example, you got bes, as, fis in that reversed order rather than
in the order in which you list the alterations. Now, you'll get fis, as,
bes in that (expected) order.

Also update the snippets and add convert-ly check to warn users about the
reversion (the keySignature property was hardly ever used, though).
input/lsr/makam-example.ly
input/lsr/non-traditional-key-signatures.ly
input/new/revised/non-traditional-key-signatures.ly
input/regression/key-signature-padding.ly
input/regression/key-signature-scordatura.ly
input/regression/keys.ly
lily/key-engraver.cc
python/convertrules.py
python/musicexp.py