[MusicXML Export] [1.2] Key signature is not exported from a mscz saved with 1.1
on Ubuntu, with Revision 5256:
save the attached file as MusicXML:
in the first (and only) measure there are two sharps, but in the MusicXML this is exported:
<key>
<fifths>0</fifths>
Attachment | Size |
---|---|
C381ldC3A1soddalmegyC3BCnk.mscz | 1.52 KB |
Comments
Could have been introduced in r4852 : http://mscore.svn.sourceforge.net/viewvc/mscore?view=revision&revision=…
Caused by a combination of three things:
1) The attached mscz file does not contain a KeySig element at the start of measure 1, which leads to the keysigs "generated" flag being set
2) Generated keysigs are ignored by the MusicXML exporter (even at tick 0)
3) If no keysig is found (after excluding generated keysigs) the MusicXML exporter writes a defaults fifths = 0, which is of course incorrect
To be fixed shortly.
The weird thing is that with the current 1.2, I do not know how to generate a file without a KeySig in measure 1. @kovianyo, could you explain how you created the attached file ?
Fixed in 0.9.6 branch revision 5289.
Should it be marked as such?
I created the original score (attached) with 0.9.6.2, revision 3400, and it has still no KeySig.
then I opened it in 1.2, revison 5256, where the key signature was not exported, so I delted the measures except the first, and saved it...
Current trunk is not affected.
Automatically closed -- issue fixed for 2 weeks with no activity.