News for hackers. Stuff that matters.
Re:Show HN: I made a MIDI tool to teach me piano by FinalDestiny on Friday July 08, 2022 @10:28PM (#32030818)
https://caniuse.com/?search=midi

It depends on the browser support I think. Luckily I bypassed all that with midir. The MIDI events are emitted to React from Rust: https://github.com/ZaneH/piano-trainer/blob/6cbc15df3f529d86...

Re:Show HN: I made a MIDI tool to teach me piano by sabellito on Friday July 08, 2022 @10:57PM (#32031088)
Indeed Web MIDI doesn't work on Firefox, for example. But I was under the impression that the webviews Tauri uses are all chromium based.

Regardless, it was just curiosity on my part - the approach you chose not only is cross-platform now, but also future proof.

Re:Show HN: I made a MIDI tool to teach me piano by FinalDestiny on Friday July 08, 2022 @11:03PM (#32031133)
Hopefully! I haven't done the tests but I think you're right. It would support WebMIDI out of the box and you could use webmidi or some other framework on top of it