Sequence Track Name MIDI messages wrongly null-terminated
Create a one-measure file with an instrument named Classical Guitar.
Insert a note.
Export to midi.
Inspect the MIDI file -- the Sequence Track Name message is null-terminated:
A MIDI importer, such as music21, might ingest the empty byte into the part name and then generate malformed musicxml when trying to write 'Classical Guitar\x00' as the part-name.
Another user verified this on a forum post on this topic:
I confirm seeing the same here with MuseScore 126.96.36.19999/Windows 7.
That item in MIDI is not to be null-terminated (there is an explicit length parameter in the meta-event encoding.)