Core Midi provides APIs for working with MIDI compatible devices. Here’s an example showing how to use Core Midi to turn your iOS device into a sustain pedal.
Here’s a nice Core Midi usage example showing how to turn your iPhone into a sustain pedal from Keijiro Takashi.
To connect to a midi device you’ll need some kind of midi adapter, or if you’ve got a USB midi device it should work connected through a USB adapter like the one in the camera kit.
Here’s a quick clip from the creator showing the iPhone being used as a sustain pedal:
You can find the Core Midi Example Sustain Pedal iOS on Github here.
A nice example for those working on music apps who may want to interact with midi devices.
- Open Source Tool Allowing You To Decompile A Core Data Database Into An Xcode Usable Xcdatamodel File
- Tutorial: Creating A Turn Based Strategy Game In Cocos2D
- Open Source Library Allowing You To Easily Map A REST API To Core Data Objects
- Using iPhone Core Data vs. A Database
- Tutorial: Fancy Text Effects With Core Text
Original article: Example: How To Use Core Midi To Turn Your iPhone Into A Sustain Pedal
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.