Midi Animation Starter Kit for iOS

Midi Animation Starter Kit for iOS

Released 4 years ago , Last update 2 years ago

A starter kit and PDF tutorial that demonstrates and explains how to load, parse and play multi-instrument MIDI files in iOS, and how to create a real-time animation based on the MIDI notes.

A concise, compelling sentence describing your product

Now that you’ve gotten your visitor’s attention, tell them more about your product. Expand on the title above to include more detail that would make a relevant audience keep reading.

A header used for emphasis or a new section

Briefly present the problem your product solves or the pain it addresses. Try to avoid using rhetorical questions and instead use simple and direct wording. After a short description, an easy-to-scan bullet list of features / benefits is a good idea:

  • A benefit which a typical customer will expect
  • A benefit which is unique to your product
  • A reason to purchase your product if you have a specific requirement

Looking at competing products is a good way to see how similar products are described. You can also browse through our marketplace's most popular products for some great examples.

Code products should show code examples

from my_product import aweome_api

my_parameters = [1, 2, 3]

if my_parameters:

Lastly, wrap up your case for your product and encourage visitors to dive into more details below.

  • 5 1
  • 4 0
  • 3 0
  • 2 0
  • 1 0
1 Reviews Read Reviews


14 day 14-day money-back guarantee


Application License

  • Perpetual license

  • 1 application

  • Can distribute binary products only

  • Commercial use

Need custom services for this product? Get a quote

Installation Instructions

When you've downloaded the sample project unzip the directory to the desired location.

  • The directory contains the Xcode sample project and a PDF document containing a detailed explanation of the code.
  • In order for the MIDI file to be played it's necessary to download a SoundFont file. The SoundFont provides the instrument sounds for the MIDI file. Due to it's size, the SoundFont file is not included with the sample project.
  • The SoundFont can be downloaded here. Once downloaded, place the SoundFont file in the "Resources" directory of the Xcode project and you're ready to go!
2 licenses, starting from From » $69.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

or Get a quote

for customization or integration services

Or enter your name and Email
  • KH Krishnamurthy Hegde 6 months ago
    Hi Ben Smiley, Wanted to check if there are plans to release the swift version of the code anytime soon.
    • Ben Smiley Publisher 5 months ago
      It's unlikely a Swift version of this project would be released since it would require re-writing the entire project. If you are using Swift, I'd recommend using the code as it is and mixing Swift and Objective-C in your project.
  • BU Brandon Uhlir 12 months ago
    hey im very interested in this my question though is. Is it very specifically coding animation for midi or does it have everything that you would need to know about midi protocol and iOS.. i.e. i want to build an app on the iPad that acts as a midi controller so it uses midi out functions. would the tutorials help me comply everything i need for midi and iOS?
    • Ben Smiley Publisher 12 months ago
      Hi Brandon, This tutorial mainly covers retrieving and playing MIDI commands from a MIDI file (it contains a custom MIDI player implementation). It also contains quite a lot of information about the MIDI protocol. However it doesn't cover MIDI input or output specifically. For that I'd recommend this library: https://github.com/petegoodliffe/PGMidi If you need information on how to parse MIDI, how the MIDI clock works, synthesising MIDI using CoreAudio and general MIDI background etc... This tutorial would be useful. Thanks, Ben
    • BU Brandon Uhlir 12 months ago
      awesome! thanks for the reply. ill keep this in mind for the future much appreciated!
  • JS joe S 2 years ago
    Hi Ben, With your midi animation starter kit is it possible to have a palette of midi instruments to pick from and then make MusicSequence objects to comprise MusicTrack objects? I am looking for a way to make midi music by selecting music elements and appending them together to make a nice sounding track. How many voices would one have access to? If not in your lib where would one buy a library of midi voices to pick from? Thanks, Joe
    • Ben Smiley Publisher 2 years ago
      Hi Joe, The current kit has a number of different voices - it uses a general MIDI SoundFont so it has over 100 instruments. Currently each instrument has to have it's own AUSampler because, so far Apple hasn't made their DLSSynth AudioUnit available on iOS. It would require a fair amount of extra work to do what you're trying to do but this kit would provide a solid foundation. Thanks, Ben
    • JS joe S 2 years ago
      would a Swift version of you code be in the works?
    • Ben Smiley Publisher 2 years ago
      Hi Joe, At some point I may convert the library to SWIFT - but not until iOS 8 comes out in September. I've been wanting to add some new features to this component for a while so that may be a good time to upgrade it to SWIFT. Cheers, Ben
    • RM Ray M 2 years ago
      I would be very interested in a SWIFT version as that's where all my developments are going, so i am voting this up.