Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI export problem with multiple voices #26330

Open
4 tasks done
SetoKaiba opened this issue Feb 4, 2025 · 3 comments
Open
4 tasks done

MIDI export problem with multiple voices #26330

SetoKaiba opened this issue Feb 4, 2025 · 3 comments

Comments

@SetoKaiba
Copy link

SetoKaiba commented Feb 4, 2025

Issue type

Import/export issue

Description with steps to reproduce

Hi, I try to export midi with multiple voices.
And I encounter problems.
I think the same sheet export with Dorico is correct.

Image
This is the score with multiple voices in MuseScore.

Image
This is the score with multiple voices in Dorico.

Actual behaviour:
Image
This is the MIDI exported by MuseScore.

Expected behaviour:
Image
This is the MIDI exported by Dorico.

Supporting files, videos and screenshots

temp.mscz.zip
Here's the mscz file for the testing.

What is the latest version of MuseScore Studio where this issue is present?

OS: macOS 15.3, Arch.: arm64, MuseScore Studio version (64-bit): 4.4.4-243461245, revision: github-musescore-musescore-2232670

Regression

No.

Operating system

macOS 15.3

Additional context

No response

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
@MarcSabatella
Copy link
Contributor

I'm guessing you are talking about the way the whole note C4 is handled after it is interrupted by the eighth note C4 a beat later? A piano is not capable of sustaining the whole note after restriking it later, so it's not really correct for the exported MIDI to have it sustain. Especially because as far as I know MIDI doesn't really have a concept of "nesting" the note on and note off events in this way. Of course, if the notes are placed on separate tracks, then MIDI can handle this overlap in ways that a real piano cannot, but that doesn't mean it should.

So as far as I can tell, the behavior in MuseScore Studio is correct - or at least, no less correct than what Dorico does. But maybe there is something else going on here that I'm missing. Feel free to explain in more detail what you perceive the problem to be.

@SetoKaiba
Copy link
Author

I'm guessing you are talking about the way the whole note C4 is handled after it is interrupted by the eighth note C4 a beat later? A piano is not capable of sustaining the whole note after restriking it later, so it's not really correct for the exported MIDI to have it sustain. Especially because as far as I know MIDI doesn't really have a concept of "nesting" the note on and note off events in this way. Of course, if the notes are placed on separate tracks, then MIDI can handle this overlap in ways that a real piano cannot, but that doesn't mean it should.

So as far as I can tell, the behavior in MuseScore Studio is correct - or at least, no less correct than what Dorico does. But maybe there is something else going on here that I'm missing. Feel free to explain in more detail what you perceive the problem to be.

Yes. It's exported on separate track. Is it possible to export the nesting midi as the Dorico does? Maybe an option toggle for it? I want the MIDI to represent the actual notes in score like Dorico does.

@MarcSabatella
Copy link
Contributor

As noted, real pianos aren’t capable of that - not one single piano, anyhow,. But two pianos are, if one plays the bottoms staff and another the top. So if you want your MIDI fil;e to emulate how two pianos work inst but if you want ear of how one piano works, just create your score that way - two piano instruments of one staff each rather than one instrument of two staves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants