minor key signatures in midi export
Hi,
When I create a new score selecting a minor key and export it as a MIDI file, the meta data for the key signature doesn't contain the "mi" value of 1 signifying minor keys, there's a zero (italic) at byte 0x23. The "sf" part is correct, I believe.
Is this a known bug? Or is there something I need to do to export a MIDI file?
The attached file is an example which just plays a scale in key E minor. The "mi" value is zero in the key signature meta data. Looking at the file with a hex dump utility shows an unexpected character following the key signature meta-data too: a zero I didn't expect to see there at byte 0x24 (bold).
000000 4d 54 68 64 00 00 00 06 00 01 00 01 01 e0 4d 54 >MThd..........MT<
000010 72 6b 00 00 00 64 00 ff 58 04 04 02 18 08 00 ff >rk...d..X.......<
000020 59 02 01 00 00 b0 79 00 00 c0 00 00 b0 07 64 00 >Y.....y.......d.<
000030 0a 40 00 5b 00 00 5d 00 00 ff 21 01 00 00 90 40 >.@.[..]...!....@<
000040 50 83 47 40 00 19 42 50 83 47 42 00 19 43 50 83 >P.G@..BP.GB..CP.<
000050 47 43 00 19 45 50 83 47 45 00 19 47 50 83 47 47 >GC..EP.GE..GP.GG<
000060 00 19 48 50 83 47 48 00 19 4a 50 83 47 4a 00 19 >..HP.GH..JP.GJ..<
000070 4c 50 83 47 4c 00 01 ff 2f 00 >LP.GL.../.<
00007a
Thanks,
madGambol
Attachment | Size |
---|---|
E_Minor.mid | 122 bytes |
Comments
Key signature modes are something I believe currently only keeping track with regards to MusicXML import/export. I suspect this to be a missing feature.
[EDIT]: indeed not implemented, see https://github.com/musescore/MuseScore/blob/master/mscore/exportmidi.cp…
Please file this into the issue tracker, it should be an easy fix.