This includes a number of Objective-C Xcode projects. The
Git repository is located at
https://www.github.com/BradleyRoss/ObjectiveC-Examples while this page
is located at
This package displays some menus and allows the selection of a number of demonstration
pieces of code for CoreMIDI and manipulation of windows. The code for working with MIKMIDI
had to be deactivated because the MIKMIDI libraries don't appear to work with the ARM architecture.
See here for more information.
The classic HelloWorld example from the XCode samples.
This illustrates the nature of a number of constants involved in selecting MIDI properties.
It also illustrates some string operations.
These are some projects that are no longer supported because of problems with the code. The functionality
has been moved to the BRossTools project.
- CoreMidiDemo (deprecated)
This is the first example from
http://xmidi.com/how-to-access-midi-devices-with-coremidi/ and shows an example of
getting a list of MIDI devices from the MIDI server on OS X. Please note that this
software tracks all devices that have ever been attached, so it may include several
units that are not currently in use.
- CoreMidiDemo2 (deprecated)
This is the second example from the article How to Access MIDI Devices with CoreMidi.
This example uses a different API and only lists devices that are currently connected. It should
be noted that this program requires over three seconds to run. However, this appears to be mainly due
to the time spent loading the dynamically linked libraries.
This is a modified version of CoreMidiDemo that has been stored as a project inside a
This is a modified version of CoreMidiDemo2 that has been stored as a project inside a
This is an Objective-C program that I wrote to examine many of the components of the
Apple CoreMidi framework. It is stored as a project inside the workspace. In addition to
demonstrating the CoreMidi methods, it also demonstrates the use of return codes
to indicate anomalous completion and how to traverse a CFDictionary structure.