Issue with MIDI in web export

Godot Version

4.3

Question

We have a working program using a MIDI keyboard, exports to .exe just fine, tried to upload to Itch.io but we get an error in the console saying “USER ERROR: MIDI input isn’t supported on Web.”

Best I can tell Chrome supports it so it appears to be a GoDot issue. Can anyone confirm that? Anyone know a workaround?

2 Likes

Hi, did you find a solution to this problem ?
I’m having the same issue

Sadly, Godot natively doesn’t support WebMidi yet, however I managed to create a working piano using a Godot Build I found on github based on 4.4dev made by someone to addressed this issue, sadly I’m not being able to find it again, but If you really need it I could send that build with the export template to you. Another solution I found was this:

I never tried it tho but I may since I don’t want to stick to a dev version too.

Using the Build I said before I managed to create this, that will make the popup of accepting MIDI input in Chrome when played: PIANOSCAPE - THE COOLEST MIDI PIANO by REKIEX