1. Open score with drums.
2. Export Score.
3. Format: MIDI.
4. OK.
5. Open media player (such as Quicktime).
6. Play.
Result: No drums sound (not sure if other instruments are affected).
Using MuseScore 2.0 Nightly Build (4367) and QuickTime 7.6.6 - Mac 10.6.7.
Comments
The output MIDI file is empty (no notes).
That's why it is hard now to test drums with MuseScore.
Yes.
1. Open attached MSCZ (produced in 1.3).
2. 'Export...'.
3. Choose 'MIDI'.
4. 'Save'.
5. Open MIDI file.
Result: Nothing plays or appears.
Note: I also attach the produced MIDI file.
Using MuseScore 2.0 Nightly Build (b0f01b4) - Mac 10.7.5.
Export in 1.3 is fine.
Also see this: #22923: Piano missing from MIDI export
Drums are not exported because of this line https://github.com/musescore/MuseScore/blob/master/mscore/exportmidi.cp…
I'm not sure why the channel of the note is 0 while the channel of the part is 9 (the drum channel). Forcing the note channel to 9 would solve the problem but it's probably not the right way.
#22923: Piano missing from MIDI export is nearly the same problem.
Could it sort-of explain this? #22914: Instrument doesn't play properly after undo removal
I came across this score, in which drums export to MIDI.
I checked using QuickTime 7.6.6, as VLC 2.1.0 wasn't able to open the file.
Using MuseScore 2.0 Nightly Build (8a6c228) - Mac 10.7.5.
Accidentally fixed in PR 1083, tested with Timidity and VLC 2.0.8.
So Maxim, are you going to send a pull request for this?
Done since a while: PR 1083
Needs a rebase though.
By the looks of things it would be a good idea to close the existing PRs and then resubmit Maxim.
There were lots of fixes related to Parts, Instrument editor, etc. since I've made a PR. I have to check all my code again and only then I will be able to re-push the PR (no need to close it). Unfortunately, my free time is limited, that's why it is still unmerged.
Sorry for the delay.
Fixed in PR 1370.
I would remove it from PR 1083.
Fixed in 42106464f5
I know there are a bunch of possibly-related issues involving MIDI export - does this perhaps fix any of the others?
I've checked some issues and my patch fixes them: #35276: Exported MIDI doesn't feature all tracks, #23908: Staves from #18 and beyond won't export into MIDI, #22923: Piano missing from MIDI export.
I would be happy if you test other issues or point me to them.
Those are the ones I was thing of. So if the patch fixes those, and now it is merged, those issues can be closed, right?
Automatically closed -- issue fixed for 2 weeks with no activity.