MIDI Input Lag - Issue has still not been fixed after 6 years
Hi all, this stupid issue with MuseScore has still not been fixed.
With a high-quality USB MIDI Keyboard (Roland A-49) in my case, with MuseScore Stable 3.6.2,
you get around 300ms of input lag which is especially bad when trying to note input.
MuseScore simply erases all the rests and puts all the notes together, and even the audio lag is just unbearable.
Using ASIO4ALL isn't a solution, it's a work around that isn't part of MuseScore.
Why is it so slow with WASAPI and MME?
Why hasn't this issue been fully addressed since day 1?
It's been 6 years since this issue has been first reported, from what I can tell.
No clear fix has been made, only certain people claiming it isn't an issue, or staff claiming "duplicate issues" or "lack of information" to continue. MIDI Input lag is real, and you can't mark an issue as duplicate if the previous issue was marked as closed.
Please get this addressed.
Comments
Which issue exactly are you talking about, link to it please
In reply to Whieh issue exactly are you… by Jojo-Schmitz
https://musescore.org/en/node/103691
https://musescore.org/en/node/281924
https://musescore.org/en/node/177581
etc.
Before you dock the second one, the person who replied and the OP are different.
There's plenty of issues talking about this.
I have tested multiple different softwares and ASIO/without ASIO, and seems that Finale Notepad 2012 has the lowest latency without ASIO, and Ableton/FL Studio has insanely good latency with ASIO. Musescore is at the bottom of both lists.
In reply to https://musescore.org/en… by Apprisco
None of these are "issues", but all are forum posts.
One of them points at #280952: Score Editing Slow but not related to MIDI
In reply to None of these are "issues",… by Jojo-Schmitz
They are all related to MIDI, the score editing slow one hasn't been linked? That one is still about MIDI, because as I pointed out, the person who replied isn't the original poster, the original poster's issue was never addressed.
In reply to They are all related to MIDI… by Apprisco
https://musescore.org/en/node/280956
another example of incompetent staff linking stuff to things that aren't the same.
It's not hard to grab a usb midi keyboard, connect it, press a note and see how long it takes to hear a sound from the computer.
In reply to https://musescore.org/en… by Apprisco
#280956: MIDI input latency over 300ms. is an issue. And no staff member ever touched it, Just mere mortal community members, in an effort to help others
In reply to https://musescore.org/en… by Apprisco
it is not hard to grab a usb midi keyboard
Well it is: I don't have one (and don't need nor want one). Most developers don't...
In reply to https://musescore.org/en… by Apprisco
And my system is modern, AMD Ryzen 3700x, 64GB 3200Mhz CL16, RTX 3090, Creative Sound Blaster Z sound card with ASIO support.
In reply to https://musescore.org/en… by Apprisco
Instead of calling people incompetent, how about you just delve into the source code and fix this?
In reply to Instead of calling people… by Jojo-Schmitz
There has been attempts, especially with other people finding out about how the MuseScore ALL Notes Off issue was adding latency.
https://musescore.org/en/node/322301
It's possible to fix this in the source but I'm not familiar with the codebase yet, so I'm not qualified.
It would take weeks to get myself familiarized with the codebase.
How irresponsible is it to tell the end-user to fix the issue by diving into the source code, rather than elevating it to a proper issue in the dev team?
In reply to There has been attempts,… by Apprisco
so I'm not qualified
So you're incompetent?
elevating it to a proper issue in the dev team?
Go ahead and do it. Do something rather than calling names and shouting and demanding.
This is Open Source: Scratch your own itch.
In reply to so I'm not qualified So you… by Jojo-Schmitz
Open Source doesn't mean the end user has to fix it.
If you want me to take the weeks to navigate the source code, sure.
But how incompetent is it really to drag in a new person to fix an existing issue,
rather than taking one look at the issue yourself?
Yeah, I'm incompetent since I haven't taken one look at the source code yet and thus cannot make changes until I'm familiar with the codebase and QT compilation.
Heck, I don't work full time as a developer, I'm a music producer that knows how to code.
You who is apparently a developer can't take one look at the source code and tell the open source community to fix it instead of taking a look.
The attitude here makes me laugh. You had a similar attitude with everything else earlier, I distinctly remember you docking me and other people for publishing pieces with invisible scores when the website was rampant with score stealing and plagiarism.
In reply to Open Source doesn't mean the… by Apprisco
I don't work as a full time developer either. Surely not for MuseScore. I'm an unpaid volunteer contributor.
And no, I won't like at that MIDI code, I don need it at all, so why should I?
In reply to Open Source doesn't mean the… by Apprisco
The only time before I ever replied to you was in https://musescore.org/en/node/307649, so I have no idea what you're talking about
In reply to They are all related to MIDI… by Apprisco
Then no issue for this exists, just forum posts.
In reply to Then no issue for this… by Jojo-Schmitz
Totally not an issue, totally a forum post.
In reply to Totally not an issue,… by Apprisco
Yep, that one is an issue. But a closed one (closed as a duplicate)
And out posts crossed about this.
In reply to Yep, that one is an issue… by Jojo-Schmitz
Closed as duplicate for false reasons.
In reply to Closed as duplicate for… by Apprisco
Maybe. Reopen with giving better reasons
In reply to Maybe. Reopen with giving… by Jojo-Schmitz
Fair enough, thought it was like GitHub where you can't reopen a closed issue. My bad for not looking at it hard enough.
Did you see Edit > Preferences > I/O > MIDI Output Latency?
In reply to Did you see Edit >… by Jojo-Schmitz
Which is set to 0ms.
In reply to Which is set to 0ms. by Apprisco
I'm kind of surprised that JoJo is still responding to you. Think about it. "Developers" are very busy working on V4. And have been for more than a year. Was your issue "fixed" two years ago? No. Sorry.
Open source does not mean that the user HAS to fix an issue. It means that the user CAN fix the issue. If, as you claim, you can code, then maybe it would be worth your time to figure it out and stop insulting folks. If, as you claim, there are others with this problem, what you come up with might be helpful for them.
In reply to I'm kind of surprised that… by bobjp
The point is that bug fixing is always more important than new features. Your logic doesn't hold up- you are telling me to fix the issue because I can, when I have to sacrifice so much of my own time to read through & get acquainted with the codebase for a program I'm actively paying to support. Again, the issue and exactly what causes it has already been discovered, it seems the developers have been alerted and lliterally has the solution implemented, but no one else other than the specific dev can access it because the people who were working on it moved to emails. Being able to code & being able to dive through a 263MB codebase to figure out an unfamiliar library & entire system are very different things. I'm being insulting because honestly the effort used to push terrible website updates could've easily gone into fixing these bugs. It's been found for 2 years. What has been done about it, when there is a solution? Nothing.
In reply to The point is that bug fixing… by Apprisco
> "The point is that bug fixing is always more important than new features"
If that were a truth, most software package would have to stop innovating.
There is also triaging of priorities, and while this seemingly bug has been (wait for it...) bugging you for a long time, it seems to be affecting only an extremely small number of users and is part of a not too often used feature compared to the entire user base.
Yes, that might be infuriating, but that's also how triaging works (even more so in an open source project where much of the work is being done by volunteers).
In reply to The point is that bug fixing… by Apprisco
The way open source software works is, anyone with the skills to fix a problem is welcome to do so. And lots of people have those skills. So the problems that get fixes are the ones that bother those people the most - either because they personally are affected by the issue, or because large numbers of users are politely and respectfully reporting that the issue is important to them. Apparently none of the people with the skills to fix this happen to be affected by it personally, so it comes down to the second part - having large numbers of users politely and respectfully reporting that the issue is important to them.
Developers certainly want to see MuseScore be successful, so they definitely do prioritize features that are reported politely and respectfully by large numbers of users. So far, that hasn't happened with this particular issue. That could certainly change, and you can help make that happen.
In reply to The way open source software… by Marc Sabatella
Like.
In reply to The way open source software… by Marc Sabatella
Hi, my name is Jeremy - Are all you nice folks referring to MIDI input delay when MuseScore 4 is trying to record or process MIDI signal in "timely" fashion from keyboard (or any external MIDI input source)... Such as playing a piano note (MIDI) and then very long delay below 1 second but definitely not realtime (I just need few milliseconds) delay that doesn't affect the score. I get the MIDI note but I can't play with the delay coming after my very fast hands, LOL (piano player here).
Compared to all my other apps, Cubase/FL Studio etc....I can't get any setting to work. I'm right here at studio desk with 3 foot USB midi out to it. Even old-fashioned midi cable routed to other things. I play a note, get about an 8th to 16th note delay. I know it's not my equipment as all fine and realtime in every other app....
If I'm in wrong forum, may someone post to correct. I can't fix this and need help. For now...I just record what I want in Cubase or FL Studio as it actually works, export them and import to Musescore 4 to finish things up. That is not supposed to be how a scoring and amazing program should be. Oh, and....Musescore 3 doesn't have this issue. Thank you all!
I am very fond of MuseScore vs Cubase score arranging. Now on to another forum about merging all to a grand staff vs all these instruments on separate tracks..