-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic exotic circle-of-fifth key signatures #1230
Comments
We can look at this but this would yield invalid MEI. It seems that the data type (currently erroneously name In terms of display: do you expect the double sharp (e.g., F) to be display in replacement of the first sharp, or additionally at the end of the key sig? |
Not very important to implement, but since I saw "8s" as a key signature I was wanting the correct key signature in the music notation. The double sharps/flats would replace the sharps/flats as the circle-of-fifths number increases/decreases. In other words for keys of This relates to what should happen when someone transposes up a perfect fifth from C-sharp major. The new key will be G-sharp major, which is only theoretical and never used in real music. Instead, G-sharp major would be converted into the enharmonic equivalent of A-flat major. This enharmonic change could be added to the The other option is to not do the enharmonic transposition (which is easier to do for now). This would lead to the theoretical key signatures being displayed. In any case the data remains correct at the moment, so transposing up and down a fifth from C-sharp major will return correctly to C-sharp major, because verovio is allowing an |
So we should go up to 12f/12s? |
14f/14s would handle all cases of double sharps/flats in the key signature, so that would be a good target. Or if you want to be excessive, then 21f/21s would allow up to triple sharps/flats for each accidental in the key signature. |
For
keySig@sig="8s"
tokeySig@sig"14s"
andkeySig@sig="8f"
tokeySig@sig"14f"
, it would be useful to automatically generate the correct exotic key signature. Currently verovio clips such key signatures to the non-exotic key signatures of up to7s
/7f
, but this will be an incorrect key signature. This would allow the correct display of strange transpositions with the new--transpose
option. Not overly useful for practical purposes, but will be nice to display correctly without having to manually set each pitch class accidental.Here is example data in C major:
MEI data:
Transposing up an augmented fifth:
The pitches will be correct, but the key signature needs an F-double-sharp, since
8s
means that there are 7 sharps, but then go back to the first sharp and raise it again to a double sharp.MEI data:
Triple sharps/flats could also be implemented at the same time (
15s
to21s
and15f
to21f
)...Note that the use of triple sharps/flats will require setting
Transposer::setBase600()
after it is initialized and before the transposition interval is set.The text was updated successfully, but these errors were encountered: