Browse Source

But add todo for the future

master
Nils 2 years ago
parent
commit
3833267c9f
  1. 1
      engine/items.py

1
engine/items.py

@ -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

Loading…
Cancel
Save