• 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: More MIDI sysex problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More MIDI sysex problems


  • Subject: Re: More MIDI sysex problems
  • From: Stephen Davis <email@hidden>
  • Date: Sat, 19 Jan 2002 23:27:14 -0800

Chris,

On Saturday, January 19, 2002, at 04:18 PM, Cianflone, Chris wrote:

<<CoreMIDI is a C API so you can call it from Cocoa/Carbon. >>

Could someone expand on this more for Carbon...

I assume you have to do something similar to the CFM_MachO_CFM example in
the Carbon SDK? Am I on the right track or am I missing something obvious.
Does anyone have some sample code taking care of these tedious tasks? If
not, and the CFM_MachO_CFM is the correct example to follow, I will just
start down that path. Just finally started playing with the CoreMIDI code
on OS X so I have not jumped in too deep at this point. Had a little fun
with the SampleTools example (midiecho) and wanted to start trying to get a
Carbon example working next.

If you are building your Carbon app with CodeWarrior 7 then you can build your app as a Mach-O executable and can just link directly to the CoreMIDI framework (_if_ you are building your app with Project Builder then you are already building Mach-O and don't need to do anything special). If you are building your app as a CFM/PEF executable then you need to follow the CFM_MachO_CFM example code. If this is for Mac OS X only, I recommend building your app as Mach-O -- it will simplify your life.

If you are going to build CFM/PEF then you also might want to look at the CallMachOFramework sample code which could simplify your CFM --> Mach-O translations. However, keep in mind you will still have to follow the CFM_MachO_CFM example when registering your MIDI callback functions.

Hope that helps,
stephen


  • Prev by Date: RE: More MIDI sysex problems
  • Next by Date: Advanced Audio CD Functionality under carbon / OSX
  • Previous by thread: RE: More MIDI sysex problems
  • Next by thread: Documentation and SDK
  • Index(es):
    • Date
    • Thread