Documentation
Everything you need to build MIDI 2.0 applications with MIDI2Kit.
Getting Started
📦 Installation
Add MIDI2Kit to your Swift project with SPM.
🚀 Quick Start
Discover devices and exchange properties in minutes.
💡 Basic Concepts
UMP, MUID, MIDI-CI, and Property Exchange explained.
📝 Examples
Real-world code examples and sample projects.
Modules
MIDI2Kit is organized into focused modules that can be used independently or together.
| Module | Description | Key Types |
|---|---|---|
MIDI2Core |
UMP types, MUID, value scaling | UMPMessageType, MUID, DeviceIdentity |
MIDI2Transport |
MIDI I/O abstraction | MIDITransport, CoreMIDITransport |
MIDI2CI |
Device discovery | CIManager, DiscoveredDevice |
MIDI2PE |
Property Exchange | PEManager, PERequest, PEResponse |
API Reference
📚 Swift-DocC API
Auto-generated API documentation with full type details and source links.
Core MIDI2Core
UMP message types, MUID, DeviceIdentity, value scaling utilities.
Transport MIDI2Transport
MIDITransport protocol, CoreMIDI wrapper, MockTransport for testing.
CI MIDI2CI
CIManager for device discovery, capability inquiry, lifecycle management.
PE MIDI2PE
PEManager for GET/SET/Subscribe, typed JSON API, subscriptions.