• 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
Need help getting started with CoreMidi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help getting started with CoreMidi


  • Subject: Need help getting started with CoreMidi
  • From: Michael Ellis <email@hidden>
  • Date: Wed, 23 Jan 2013 13:14:27 -0500

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: Tim Kemp <email@hidden>
    • Re: Need help getting started with CoreMidi
      • From: Paul Davis <email@hidden>
  • Prev by Date: AU Properties and Ownership of CF objects
  • Next by Date: Re: Need help getting started with CoreMidi
  • Previous by thread: Re: AU Properties and Ownership of CF objects
  • Next by thread: Re: Need help getting started with CoreMidi
  • Index(es):
    • Date
    • Thread