• 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: Newbie Question: receiving MIDI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question: receiving MIDI


  • Subject: Re: Newbie Question: receiving MIDI
  • From: Robert Martin <email@hidden>
  • Date: Fri, 12 Mar 2010 15:31:15 -0500

Basically, you have to create a MIDI inout port using: MIDIInputPortCreate(...) to receive MIDI, and you pass it a function (that you write in your code)  that it will call when it has any MIDI to give you. The documentation for all this is all over the place, but looking at the header files in CoreMIDI should give you the basics.

You might also want to look at the source for MIDI Monitor - I think it's at snoize.com - though it's a bit hard to penetrate if you're new to all this, it does contain everything you want to handle MIDI.


On Mar 12, 2010, at 1:55 PM, Paul J. Ascenzo wrote:

> Hello - I need a little help from someone smarter than me.
>
> I'm slowly putting this all together*  ... But after a couple of weeks of pouring thru the documentation and previous posts, I'm still stuck on one point.
>
> When a function gets called to signal that there is incoming MIDI from a synth to my app, how exactly do I get ahold of that MIDI information?
>
> I realize that it will probably be in a MIDIPacket inside a MIDIPacketList, but how exactly do I gain access to that list and packet? I'm sure a pointer is passed to me somehow, just don't know how to find it.
>
> Thanks in advance!

 _______________________________________________
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

References: 
 >Newbie Question: receiving MIDI (From: "Paul J. Ascenzo" <email@hidden>)

  • Prev by Date: Newbie Question: receiving MIDI
  • Next by Date: Re: Is it possible to obtain 16 channel output from DlsSynth?
  • Previous by thread: Newbie Question: receiving MIDI
  • Next by thread: finding a plugin that does dynamic view resizing
  • Index(es):
    • Date
    • Thread