Swift Xcode Project that demonstrates how to animate the backgroundColor of a UILabel when MIDI has been received from an external MIDI controller or a MIDI-enabled app. This also includes how to implement reverb effects into the audio signal. Made with the AudioKit framework.
The EXS24 sounds are for demo purposes, only. They are borrowed from the incredible ROM Player by Matthew Fecher.
The AudioKit framework in this project was installed using CocoaPods. In order to install AudioKit to run and build this project successfully, please run the following command line in the Terminal Mac app:
cd <path/to/the/AKMidiReceiver repo>
Step 1 - Install CocoaPods. If you already have it installed on your machine, you may skip to Step 2.
sudo gem install cocoapods
Step 2 - Install the AudioKit framework via CocoaPods It is not included in the repo!
pod update
Launch the AKMidiReceiver.xcworkspace
– not the AKMidiReceiver.xcodeproj
Notes
- Minimum target is iOS 9.0.
- Updated with Xcode 11.2.1.
No Scheme Found in the Xcode Workspace?
If you open the Workspace and no scheme is found in the Xcode project, please follow these steps that were found here:
- Click on the No Scheme pulldown menu.
- Click on the New Scheme... selection.
- Click "OK" when the
AKMidiReceiver
target and name appear in the confirmation box.