alphaTab
alphaTab copied to clipboard
Minor Keys in AlphaTex
Discussed in https://github.com/CoderLine/alphaTab/discussions/853
Originally posted by jonaro00 May 15, 2022
Proposed feature
AlphaTex currently allows defining major key signatures with \ks G
. I propose also allowing minor keys by simply expanding the switch-cases in AlphaTexImporter.parseKeySignature
.
What the syntax would be is up for discussion. My idea is to keep the default behavior for major keys, using \ks Eminor
for minor, but also allowing \ks Gmajor
for consistency.
The switch-case would then look like:
...
case 'g':
case 'gmajor':
case 'eminor':
...
```</div>