Working MIDI Solutions for Rhythm Pattern Explorer
โ
Confirmed Working Solutions
1. Brave Browser - WebMIDI
Status: โ
Working perfectly
Setup:
- Open app in Brave Browser
- Click MIDI toggle
- Grant MIDI permission when prompted
- Audio context auto-initializes
Output: Direct to IAC Driver, virtual MIDI devices, hardware MIDI
Logs when working:
โ
WebMIDI initialized successfully
โ
MIDI output ready via webmidi
๐น Selected MIDI output: IAC Driver Bus 1
2. Safari (Mac) - WebSocket Bridge
Status: โ
Working with Python bridge
Setup:
- Start Python bridge:
python3 minimal-midi-bridge.py
- Open app in Safari (HTTP version for localhost access):
python3 serve-app.py --port 3000
open http://localhost:3000/app/
- Enable MIDI - connects to WebSocket bridge
Output: Bridge converts WebSocket โ MIDI โ IAC Driver
Logs when working:
๐ฅ๏ธ Safari on Mac detected - trying WebSocket bridge
โ
OSC over WebSocket initialized successfully
โ
MIDI output ready via osc
๐ง Current Configuration
The app now prioritizes the working solutions:
- WebMIDI first (Brave, Chrome, Edge)
- WebSocket bridge for Safari on Mac (non-HTTPS)
- Fallback modes for unsupported cases
๐งน Cleaned Up Experiments
Moved to tests-rests/ipad-midi-experiments/
:
- TouchOSC iPad bridge attempts
- HTTPS workaround experiments
- iPad-specific MIDI solutions
- Network bridge attempts
๐ฏ Recommended Usage
For Desktop Development:
- Brave/Chrome: Direct WebMIDI (easiest)
- Safari: WebSocket bridge + Python script
For Mobile (iPad/iPhone):
- Use dedicated iOS MIDI apps (GarageBand, AUM, etc.)
- Or use IDAM for MacโiPad MIDI routing
- Web-based MIDI remains limited due to iOS Safari restrictions
๐ Working Status Summary
Browser |
Platform |
Method |
Status |
Setup Required |
Brave |
Mac |
WebMIDI |
โ
Working |
None |
Chrome |
Mac |
WebMIDI |
โ
Working |
None |
Safari |
Mac |
WebSocket |
โ
Working |
Python bridge |
Safari |
iPad |
None |
โ Limited |
Use native apps |
๐ Quick Start
For immediate MIDI output:
- Open in Brave Browser
- Click MIDI toggle
- Grant permission
- Play patterns โ Hear MIDI in your DAW!
The core functionality is solid and working reliably on desktop platforms.