Hello,
Recently I was attempting to run many electronic keyboard emulations in the browser, using MAME compiled by emscripten. Currently, I've managed to run the emulator and play the MIDI file via the `-midiin` parameter, but haven't figured out a way to make the emulator controllable using an external MIDI device like MIDI keyboards and sound modules.
I know that modern browsers support web midi but I didn't find much information for connecting the web midi to an wasm application on the web page. Is there a solution to achieve that?