• 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: Reading midi events from device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading midi events from device


  • Subject: Re: Reading midi events from device
  • From: "Jacob Ole Juul Kolding" <email@hidden>
  • Date: Sat, 30 Sep 2006 11:17:41 +0200

On 9/27/06, Kurt Revis <email@hidden> wrote:
On Sep 27, 2006, at 3:40 AM, Jacob Ole Juul Kolding wrote:
I'm new to Core Audio and midi and I have and assignment where I have to read events from a midi device (keyboard) connected to a midi interface.

Can anyone give me some pointers to what API calls I must use and where to find the docs? 

Apple's overview docs are here:
http://developer.apple.com/documentation/MusicAudio/Conceptual/CoreAudioOverview/index.html
specifically
http://developer.apple.com/documentation/MusicAudio/Conceptual/CoreAudioOverview/WhatsinCoreAudio/chapter_3_section_7.html

Most of the documentation is in MIDIServices.h, which is also available in a formatted version here:
http://developer.apple.com/documentation/MusicAudio/Reference/CACoreMIDIRef/MIDIServices/

A very small example of getting MIDI input (and sending MIDI output) comes with the developer tools:
/Developer/Examples/CoreAudio/MIDI/SampleTools/Echo.cpp

Looking at Echo.cpp and the docs for MIDIServices was helpful.
My question is now if there are functions for processing a midi packet of if that has to be done manually?

/Jacob Kolding

On Sep 27, 2006, at 7:20 AM, David A. Hoatson wrote:
I just did the same thing - I suggest looking at the recent archive of this list (for my similar questions and rants!), and the source to MIDIMonitor:
 
http://www.snoize.com/MIDIMonitor/

Thanks for the mention, but I think that code might be too much to take on all at once!

--
Kurt Revis
email@hidden


 _______________________________________________
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: Reading midi events from device
      • From: Kurt Revis <email@hidden>
References: 
 >Reading midi events from device (From: "Jacob Ole Juul Kolding" <email@hidden>)
 >Re: Reading midi events from device (From: "David A. Hoatson" <email@hidden>)
 >Re: Reading midi events from device (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Outputing to different Channels on a Device
  • Next by Date: Re: Reading midi events from device
  • Previous by thread: Re: Reading midi events from device
  • Next by thread: Re: Reading midi events from device
  • Index(es):
    • Date
    • Thread