MSS4 MIDI Export: Omit invisible notes
Your idea
When I export to MIDI, and open the MIDI file in my DAW (Logic Pro), there's always very short notes where there invisible notes exist in the MuseScore score.
File>Export>MIDI>Omit invisible would solve this.
See the discussion, relevant score, and image at .org
Problem to be solved
This would produce a cleaner MIDI export that I can immediately use after import to my DAW.
Prior art
I have not encountered this issue in other notation apps.
Additional context
No response
Checklist
- [X] This request follows the guidelines for reporting issues
- [X] I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
I think you're misunderstanding what is happening here. Invisible notes don't magically turn short - ordinary invisible notes are full duration. It's that you have multiple notes of the same pitch on the same tick, which causes their respective note on/off messages to overlap and the note off for one occurs at the same tick as the note on for the other. I think that's just a bug, no special new option should be required to workaround it.
But meanwhile, you can workaround it by marking the invisible not not to play, which is it the right thing to do anyhow to avoid it double-striking.
Mac wrote >
- multiple notes of the same pitch on the same tick [causes] their respective note on/off messages to overlap and the note off for one occurs at the same tick as the note on for the other. I think that's just a bug*
Thanks Marc,
Let me know if the MIDI export issue is indeed a bug and I'll open an Issue Report.
- you can workaround it by marking the invisible not not to play*
Good point. Is there a method of selecting all invisible notes? Then I could select once ... and set their Play property in one step.
I don't see "Same visibility" in the Select Notes dialog (i.e. Right click>Select>More...) Don't see Invisible in the Selection Filter.
I'm not an expert on MIDI, but it does indeed seem to be a bug. My read of the dump I got them from https://g200kg.github.io/midi-dump/ is that the note off event happens on the same tick as the note on, hence the zero-duration note. There should be rights be two note on events at that same tick, then two separate note off events at their respective ticks.
I suspect the current result is the result of the attempts at avoiding the issues MuseScore has had on and off over the years where overlapping notes in different voices wouldn't play the second note (e.g., a whole note one beat 1, a quarter note of the same pitch on beat 2 would not play at all). See for example https://github.com/musescore/MuseScore/issues/15306. It's possible indeed the current behavior was introduced when that was fixed, although that's just a guess really.
As for selecting all invisible notes, if it's not in the Select / More dialog, then it's probably not possible except perhaps via plugin. Adding "visibility" it to the Select / More dialog would make reasonable feature request. Meanwhile, my best suggestion is to be in the habit of silencing these notes while hiding them.