• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help getting started with CoreMidi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help getting started with CoreMidi


  • Subject: Re: Need help getting started with CoreMidi
  • From: Tim Kemp <email@hidden>
  • Date: Wed, 23 Jan 2013 17:10:42 -0500

A good ObjC/Cocoa-style wrapper for Core Midi: https://github.com/petegoodliffe/PGMidi

The code itself is worth a dive even if you don't want to use the wrapper.

There used to be something called the "Core MIDI Brain Dump" at syntheticbits.com, but they seem to have pulled the blog. A big shame, because it really was a first-class intro. On the off-chance those guys are reading this, please can we have it back?!

On 23 Jan 2013, at 13:14, Michael Ellis wrote:

Hi,
New to list, looking for help with terminology and finding sample CoreMidi code.

I've got some working code (in Python) that reads a MIDI file containing a single part, e.g. a bass line, and writes an output MIDI file containing that part plus harmonies with good voice leading. It's a useful tool for my own composition, arranging and exploration of different algorithms for harmonization. I'm looking to make it more convenient to use with Logic 9.  At present, I have to play in the line to be harmonized in one track, save the region as a midi file, run my harmonizer from the command line and then go back to Logic and manually load the output file into another track. Not exactly a high-productivity workflow :-)

I'm looking for some sample code I can wrap around the harmonization algorithms so I can 

1) Play a line on a MIDI keyboard and send the harmonized output to Logic, i.e. as it would see it if I were actually playing all the notes, and

2) Be able to send a pre-recorded MIDI track in Logic to the harmonizer and have the harmonized output written to another track.

This brings up my first terminology question: is what I want to develop an AudioUnit or some other kind of plug-in, since it wouldn't produce any audio but simply transforms a MIDI input stream into a different MIDI output stream?

Links to relevant docs and examples much appreciated. I want to focus on the musical aspects of this project and minimize the time spent learning the quirks of Objective-C,  XCode, and Apple Framework API's. 

I have XCode 3.2.5 installed on my MacBook from a couple of years ago (I'm still running Snow Leopard). I'm registered as an Apple Developer but make my living writing Unix/Linux software for embedded applications.  
       

Thanks!
Mike Ellis
Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Need help getting started with CoreMidi
      • From: Michael Ellis <email@hidden>
References: 
 >Need help getting started with CoreMidi (From: Michael Ellis <email@hidden>)

  • Prev by Date: Re: Need help getting started with CoreMidi
  • Next by Date: Re: Need help getting started with CoreMidi
  • Previous by thread: Re: Need help getting started with CoreMidi
  • Next by thread: Re: Need help getting started with CoreMidi
  • Index(es):
    • Date
    • Thread