This is an AudioKit project that demonstrates how to subclass the AKMidiSampler in response to the following Stack Overflow question:
- Within Terminal, run
git clone git@github.com:markjeschke/AudioKitSamplerClass.git
in the command line, or download the zip to your local drive. - If you have CocoaPods already installed, run
pod install
to install the AudioKit framework. - Open the
AudioKit Sampler Class.xcworkspace
source, and build the app to your iPhone or iPad.
- Within Terminal, enter
$ sudo gem install cocoapods
in the command line. - Change directory, so that you'll be in the root directory of this "AudioKit Sampler Class" Xcode project.
- Run
pod install
to install the pods that are listed in the Podfile. - Once the installation has completed, open the project by clicking to open
AudioKit Sampler Class.xcworkspace
– not theAudioKit Sampler Class.xcodeproj
.
If you're having trouble installing CocoaPods, please refer to their installation instructions.
This project was built with Xcode 11.4.1 and AudioKit version 4.9.5