Re: OMS -> MIDI API's
Re: OMS -> MIDI API's
- Subject: Re: OMS -> MIDI API's
- From: Doug Wyatt <email@hidden>
- Date: Mon, 13 May 2002 07:29:01 -0700
Hi Bruce, (Very) LTNS!
On Sunday, May 12, 2002, at 10:25 , Bruce Coughlin wrote:
Newbie question: How easy is it to convert an app with simple OMS calls
(Sign In/Out, Input/Output, Read/Write MIDI) to the OSX MIDI API's? I
know it's all relative, but glancing at the docs it seems pretty
complicated (as does OSX in general). I've almost-successfully
converted an old app to Carbon ( a few things left to fix, but it
runs...), but am hesitant about diving into the new MIDI stuff.... Any
thoughts? I just do this for fun/hobby.........
When I joined Apple in early 2000, it took me a month or two to get up
to speed on OS X, and that's really the harder part, I think -- in the
MIDI domain, the main underlying services you'll probably need to get
acquainted with are CoreFoundation and thinking in terms of threads
instead of interrupts.
CoreMIDI and OMS are fairly conceptually similar (and I don't mind
admitting that because OMS borrowed many of those same concepts from
Apple's MIDI Manager :-).
And will the new MIDI API's ever work with a serial interface or is USB
absolutely necessary?
There is an AppleMIDISerialDriver in /System/Library/Extensions but I
must confess, it was written by another group that does audio/MIDI
drivers and I don't have a machine with a serial port to play with it
on ...
I'm adapting an old app, so we're talking CARBON here....
No shame there; my forays into putting pixels on the screen have all
used a tiny app framework that uses Carbon Events.
Do look into using the Carbon event model instead of WaitNextEvent; it's
important for performance.
Have fun!
Doug
--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden
http://www.sonosphere.com
"Live to learn to live."
-- Sign at Wat Chedi Luang, Chiang Mai, Thailand
_______________________________________________
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.