I have a MIDI device (launchpad) that I want to use with an Electron application. I was able to read events on the MIDI device using Microsoft Edge Chromium using Web MIDI API (https://github.com/djipco/webmidi). However, in order to start reading the MIDI device, permissions needed to be set, and displayed like so:
When I run npm start
to start the electron project, I cannot find a way to enable permissions for MIDI devices. I cannot see any of my MIDI devices, and I am assuming that is because I am missing permissions.
I have researched the Electron documentation, and was not able to find anything. systemPreferences
provides a way to request permissions, but for camera and microphone, not MIDI devices (https://electronjs.org/docs/api/system-preferences).
Thank you very much, and any help is appreciated :)