You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add mic input and touch-based M8 screen interaction (#458)
* Add mic input: route phone mic to M8 USB audio input
- Claims USB Audio Streaming OUT interface (Interface 4, EP 0x05 isoc)
to feed the phone microphone to the M8 audio input
- Separate Use default audio input toggle in Settings, auto-selects
wired headset > BT > built-in mic in priority order
- Hot-plug: audio input device callback switches on headset connect/disconnect
- SDL patch updated to skip device-ID hint for recording streams
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add touch-based M8 screen interaction
- MIDI CC via screen touch: drag on the rendered M8 screen sends MIDI CC
to the M8 over USB MIDI Streaming (Interface 5, EP 0x04 bulk OUT)
- X axis (up=127) and Y axis (right=127) map to configurable CC numbers
and channel (Settings -> MIDI)
- Option+drag: axis-locked so M8 MIDI learn assigns the right CC
- Edit+drag horizontal: Edit+Left/Right for fine parameter steps
- Edit+drag vertical: Edit+Up/Down for coarse steps; same axis locking
- Multi-touch aware: works while holding Option or Edit buttons in the UI
via dispatchTouchEvent intercepting all pointer events
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>