This is an app I wrote to try out some ideas for networked MIDI on iPhone and iPad. It connects to a host computer running OS X Tiger or later (see the documentation for Apple's Audio MIDI Setup application), or any compatible RTP MIDI host such as rtpMIDI for Windows.
I will discuss the implementation details in further blog posts, as it introduces some useful concepts such as:
- Composing outgoing MIDI data in response to user input
- Processing incoming MIDI data in real time (with semaphores and lock free buffers)
- Finding network services with Bonjour
For now, here's the source code.
Updated project for iOS 5.1 - 6 using ARC:
XCode 4.51 Project (MediaFire download)
Updated project for iOS 7 (should work back to iOS 5.1):
(Now seems to work OK on the iOS 7 simulator at least).