Re: Newbie looking for CoreMidi.h
Re: Newbie looking for CoreMidi.h
- Subject: Re: Newbie looking for CoreMidi.h
- From: Christopher Corbell <email@hidden>
- Date: Tue, 7 Jan 2003 08:08:24 -0800
On Monday, January 6, 2003, at 03:49 PM, Kurt Bigler wrote:
on 1/6/03 2:44 PM, Christian Martin <email@hidden> wrote:
Hi,
I am a bit confused. I keep finding these sample code for the Midi on
OS X
without finding the headers the refer to e.g. CoreMidi.h and others.
I am
using OS X vs 10.2.3 and Codewarrior vs 7.0. I download CoreAudio SDK
version 1.0 but still no sign of CoreMidi.h. I must be missing some
information somewhere.
The OS X was of dealing with headers is through the frameworks
mechanism
which integrates libraries and headers. As I understand it, adding a
framework adds include paths and library search paths. In CodeWarrior
you
have to go to the Frameworks tab in your project and add the
appropriate
frameworks. Look in
/system/library/frameworks
to find the ones you need. Sorry I don't know more of the details
off-hand,
so hopefully you can figure out the rest.
[....]
Depending on what you wish to do, you may need some or all of the
following frameworks:
CoreMidi, AudioToolbox, AudioUnit, CoreAudio.
CoreMidi.h is in CoreMIDI.framework/Headers. It doesn't contain any
interfaces, it just includes other headers. MidiServices.h (in the
same place)
contains most of the types and functions you'll need for CoreMIDI
connections.
Using AudioUnits you can also have a DLS synth unit as well as a
midi-controller unit. MusicDevice.h is in AudioUnit.framework and
AUMIDIController.h is in AudioToolbox.framework.
If you want to implement sequencing and SMF export see MusicPlayer.h in
AudioToolbox.framework.
Hope this helps,
Chris
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.