• 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
MIDI device "driver" how-to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDI device "driver" how-to?


  • Subject: MIDI device "driver" how-to?
  • From: Stephen Davis <email@hidden>
  • Date: Mon, 25 Jun 2001 15:00:00 -0700

I would like to write a device "driver" for an external MIDI device I own. From reading the Core Audio pdf it seems that I only need to write a CFPlugin-based "driver" for the device since it is a generic device with midi-in and midi-out ports.

If so, is there any documentation or example code for creating a midi device "driver"? Haven't located anything other than the CoreMIDIServer/MIDIDriver.h header file so far. There is a note in there to "see MIDIDriver.cpp" but where might that be?

Also, is there a generic driver that would just let me get started talking to my device before I write the driver for it? Right now, when I do a scan I see my USB interface (MIDISPORT with driver from the music kit folks) but not the device that's hooked up to it. Then again, I have no idea if any sort of probing is going on and I haven't yet tried just sending it a query to see what happens. I'm guessing that for generic devices I just need to open an in/out port pair and shove data at it.

thanks,
stephen


  • Follow-Ups:
    • Re: MIDI device "driver" how-to?
      • From: Doug Wyatt <email@hidden>
References: 
 >Re: Attaching audio driver to another driver. (From: Ken Wieschhoff <email@hidden>)

  • Prev by Date: Re: A couple of general MIDI questions
  • Next by Date: Re: Attaching audio driver to another driver.
  • Previous by thread: Re: Attaching audio driver to another driver.
  • Next by thread: Re: MIDI device "driver" how-to?
  • Index(es):
    • Date
    • Thread