Web MIDI API is a W3C standard describing the communication between browser and MIDI musical instruments.
(See https://webaudio.github.io/web-midi-api for more details)
This Extension enables Web MIDI API in Safari.
Its functionality is built upon the Jazz-MIDI extension. Please have it also installed:
https://apps.apple.com/us/app/jazz-midi/id1506447231
Please visit https://github.com/jazz-soft/web-midi to view the source code and leave your feedback.