-
Notifications
You must be signed in to change notification settings - Fork 186
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
Mid-measure key/time signature change refinements #3497
Comments
It can hardly react to a non-valid value. https://music-encoding.org/guidelines/dev/data-types/data.CANCELACCID.html |
How am I supposed to remember which version of MEI is being used :-). In the data for the example it is correct with the enhanced set of allowed values beyond the initial true/false: |
There are three refinements to mid-measure keySig renderings that would be useful to add (two of them to make them behave similar to
scoreDef
/staffDef
keySig
).The first enhancement: when a mid-measure key signature changes to C major/A minor (i.e., no sharps or flats in the key signature), a cancellation signature is required:
Click to view MEI data for above example
Here is an example with a mid-measure change, but the cancellation signature is missing (there should be four naturals similar to the previous example at the start of the measure):
Click to view MEI data for above example
Note that if the key signature is something other than C major/A minor, the key signature is displayed as expected:
Click to view MEI data for above example
I suspect that this problem may be easy to fix by traversing the XML tree into section/measure/staff/layer to process
keySig
withinlayer
at the same time asstaffDef
/scoreDef
key signatures are processed.The text was updated successfully, but these errors were encountered: