Request: Add track names to exported midi file
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Musescore does not assign instrument/staff names to exported midi tracks, which makes it difficult to handle Musescore midi files in other programs. When a Musescore midi file is imported into another application such Ableton, none of the tracks have original instrument names and so they are generically numbered (Track 1, Track 2, etc). Please consider updating Musescore so it saves staff/instrument names to midi tracks?
This link gives some tips on how it could be done:
Feature request: export track names when exporting MIDI file
https://musescore.org/en/node/275234#comment-978336
Fix version
3.5.0
Comments
https://github.com/musescore/MuseScore/pull/5725
I just compiled and tested your patch. It seems to work fine, but I have a question.
There are three names that could be considered the track name in MuseScore:
You've chosen to save the part name as the track name. How did you decide on this, and is it the choice that will match most users' expectations? Maybe some discussion is needed so that we can figure out which one would be best.
Part name is the one to take indeed. Sure not Short instrument name
In reply to Partname is the one to take… by Jojo-Schmitz
I brought this up it mainly because when I tested the patch, my instinct was to edit the long instrument name, probably because it was visible directly on the score. I did so (without really thinking) and exported the MIDI file and then wondered why my edited name wasn't exported.
Now that I think about it, I think part name probably makes more sense, but it was initially surprising to me.
I second using "part name" for track name.
In reply to Partname is the one to take… by Jojo-Schmitz
I just checked the MIDI spec, and it actually defines both “track name” and “instrument name” meta-events. So I suggest that we export our “part name” as the MIDI “track name” and our “long instrument name” as the MIDI “instrument name”.
In reply to I just checked the MIDI spec… by Spire42
I had another look into the MIDI spec and found the instrument name event too and will add them.
In reply to I had another look into the… by njvdberg
But after a closer look I think it i better to do this in another request because this slightly more complicated. Among other we have to take care about Instrument Changes.
In reply to But after a closer look I… by njvdberg
I think that's reasonable.
Any idea when this patch will be available for testing in the nightly build?
Once it is merged.
Fixed in branch master, commit 77844eac44
Fix #301079 - Request: Add track names to exported midi file as an UTF-8 string.
Fixed in branch master, commit feab656d98
_Merge pull request #5725 from njvdberg/issue-301079-midi-export-names
Fix #301079 - Request: Add track names to exported midi file_
Automatically closed -- issue fixed for 2 weeks with no activity.