|
|
@ -2286,6 +2286,7 @@ class KeySignature(Item): |
|
|
|
schemepairs = " ".join(schemepairs.split()) # split and join again to reduce all whitespaces to single ones. |
|
|
|
assert schemepairs |
|
|
|
#For Transposition in lilypond we need to explicitly export all scheme pairs, not only the one that differ from major. |
|
|
|
#TODO: Root note text was removed with commit 7c76afa600cb7a4fca6800401d8e152e189112cd because they cannot get transposed. Maybe in the future… |
|
|
|
lyKeysignature = f"\n\\key {pitchmath.pitch2ly[self.root].strip(',')} #`( {schemepairs} )\n" |
|
|
|
return lyKeysignature |
|
|
|
|
|
|
|