Re: USB-MIDI driver source in Darwin?
Re: USB-MIDI driver source in Darwin?
- Subject: Re: USB-MIDI driver source in Darwin?
- From: Bill Stewart <email@hidden>
- Date: Mon, 04 Jun 2001 12:40:33 -0700
on 4/6/01 12:19 AM, Brian Willoughby wrote:
>
> Is the source code for Mac OS X's USB-MIDI support in the Darwin public
>
> repository?
>
>
[ That's s good point. For now we put only the "kernel" drivers in
>
[ Darwin (built-in and USB for audio). Considering the MIDI ones is
>
[ not a bad idea.
>
[ But anyway, there are some examples of MIDI drivers in OSS 10.0
>
[ (look in /Developer/Examples/CoreAudio).
>
>
Thanks for the positive reaction - and the pointers to example drivers.
>
>
It seems that there is support at the generic USB device level for the MIDI
>
portion of the USB spec, and this behavior would be available to any USB-MIDI
>
device whether it has a custom driver or not. Where in the system does this
>
code live? How exactly does Apple provide support for USB-MIDI devices?
Currently any custom drivers would be installed in
/System/Library/Extensions/
The MIDI system on X will automatically find devices installed in this
directory next time a MIDI app is launched.
>
I'm trying to investigate how USB devices which do not adhere to the USB-MIDI
>
spec would provide their functionality, as opposed to devices which do adhere
>
to the spec. For example, the eMedia amt8, Unitor8, and Mark of the Unicorn
>
AV
>
USB each have proprietary communication formats which allow time-stamped MIDI
>
data to be sent to the device, and this functionality would probably not be
>
available via the built-in Apple support because it is not described in the
>
USB-MIDI spec.
Quite True - those companies (or others) would need to provide drivers for
their non-compliant hardware.
>
It may be true that these devices support standard USB-MIDI communications as
>
well as their own proprietary format. Since the Mac OS X MIDI API supports
>
time-stamping, I am trying to learn how all the code involved is organized.
We only support the spec as its written.
Bill
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________