Request Midi Access On Firefox Does Not Work
This is a known issue with Firefox's MIDI implementation. Unlike Chrome, which allows requesting MIDI access even if no devices are currently connected, Firefox denies access outright if no MIDI devices are detected at the time of the request.
Solutions
-
Restart Firefox
- If you connected the MIDI device after starting Firefox, restart the browser and try again.
-
Check Firefox Permissions
- Open
about:configin a new tab. - Search for
dom.webmidi.enabled. - Ensure it is set to
true. If not, double-click to enable it. - Search for
privacy.resistFingerprinting(if enabled, it can block MIDI access). - Set
privacy.resistFingerprintingtofalse.
- Open
-
Verify Device Detection
- Check if your OS detects the MIDI device.
- On macOS: Open
Audio MIDI Setup>MIDI Studioand ensure your device is listed. - On Windows: Check
Device Managerunder "Sound, video and game controllers."
-
Force Firefox to Recognize the Device
- Connect your MIDI device before starting Firefox.
- Restart the browser with the device already connected.
-
Use Chrome or Edge
- If Firefox's handling of MIDI is problematic, you might consider using a Chromium-based browser for MIDI-related tasks.
(ChatGPT Feb. 2025)