Combine: Connect MIDI signals to SwiftUI
summary
Builds a small library that wraps Core MIDI and exposes a mini publisher for Combine so live MIDI control-change, note-on and XY/Z streams feed Swift state. Demo is a macOS SwiftUI app that maps knobs to gradients, a pad matrix, and an XY touch control, uses operators like scan, filter, zip/combineLatest, removes duplicates, and buffers 100 samples with a 60 Hz timer. All pieces are implemented and shown working in real time.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:40Overview
- 2:55Status
- 7:26Combine
- 9:05Motivation
- 10:03Connection
- 10:50Operators
- 12:21Pads
- 14:13User Interface
- 16:29Controller
- 17:08Publishers
- 18:06Time
- 19:41Timer
- 21:52Conclusion








