"Init midi driver failed" when loading the program
GIT commit : c8199ac / Windows 7 and 10
Specific Windows issue when loading (and exiting) the currents 3.0 dev?
Anyway, as said here: https://musescore.org/en/node/275108, the problem goes back August 3/4
The cause maybe here, in one of these 5 commits ? https://github.com/musescore/MuseScore/pull/3796/commits
Comments
Sure it is major? I don't experience any ill effects, but then again I don't use MIDI in or out.
Can't reproduce your problem. MIDI works with this last nightly https://ftp.osuosl.org/pub/musescore-nightlies/windows/MuseScoreNightly… . I run app and utilize MIDI keyboard. Everything are ok.
In reply to Can't reproduce your problem… by handrok
So, problem of display "only" (annoying, unexpected and slowing down the process though).
See above images (and on the first forum topic) of what happens when loading and exiting the current nightly (Windows)
As mentioned in the forum topic:
Debug: Init midi driver failed (...\MuseScore\mscore\pa.cpp:145, virtual bool Ms::Portaudio::init(bool))
So we know where that message comes from
cadiz1, I see this message every time I run MuseScore. It exists in 2.1, 2.2, 2.3 and 3.0. This message doesn't show something bad, it just says that "Midi driver initialization failed", which is true if you don't have MIDI device connected.
I agree, that message could be improved, but there are no errors here.
Sure? I think it started with that first MSVC PR, https://github.com/musescore/MuseScore/pull/3796
I don't see it in 2.1, 2.2, 2.3, nor any 3.0 prior to that
I'm absolutely sure. I saw it first when I researched the issue with No Sound on Mac in February.
"I see this message every time I run MuseScore. It exists in 2.1, 2.2, 2.3 and 3.0"
Sorry, never in the past here, it's the very first time I observe this. And I speak knowingly: I check and test the nightlies since the Beta versions of the version 2.X, ie more than 4 years!
And until proof to the contrary (or oblivion on a period), I never see this in my archives.
So, something has changed (in any case, for Windows) since the five mentioned commits in beginning August. And I guess it may, I would not say improved, but fixed, by someone?
When you open several times the nigthlies over several days, months and years, it is more pleasant to find the expected behaviour :)
Thanks.
I've just check and built 2.3.2 once again myself: Indeed that message shows there too.
Not in the development builds from the download page though, as those don't show the command window at all. I guess there it really started with the MSVC change
"I guess there it really started with the MSVC change"
For sure.
Then again I think it OK for development builds to produce debug output like this, it rather was a bug that they didn't before (and didn't only on Windows)
It currently shows:
So I'd rather see this as 'by design'
For the record and to be clear: I use only and exclusively the development builds from the download page.
Oops. Messages crossed. Sure by design? If so, bad design! :(
development builds are for finding bugs, for that those debug messages can help, so it is even good design, even if this fix got added by accident.
The only other option to see those debug message is to build it yourself (or have some developer do it and reproduce your issue), nothing we'd want to impose on our testers (or developers ;-))
In reply to development builds are for… by Jojo-Schmitz
Ok, understood. I will have to get used to that.
"The only other option to see those debug message is to build it yourself"
No, thanks!
And maybe even include these 'famous last words' from that debug output in your bug reports ;-)
However, that messages could (and most probably should) get improved. How about "Initialize MIDI driver failed, no MIDI device detected."
I'm confused now. We build nightlies in release configuration, so that it should not show debug output...
"We build nightlies in release configuration, so that it should not show debug output..."
Good new! :)
OK, but they do.