• 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: Finding External MIDI Devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding External MIDI Devices


  • Subject: Re: Finding External MIDI Devices
  • From: Robert Grant <email@hidden>
  • Date: Fri, 28 Nov 2003 16:24:22 -0500

Hmm maybe I spoke too soon. I'm using the ID returned by the property call below to find my MIDIObject using MIDIObjectFindByUniqueID. But the object I'm finding is the MIDISport!

So here's where I'm at:

I choose the Proteus endpoint from my generated list of online destinations.

If I work back from that endpoint through entity to the device I get the MIDISport.

If I get the kMIDIPropertyConnectionUniqueID of the Proteus endpoint and use that to find a MIDI Object and work from that to the device I get something the MIDISport!. And here's something weird: the object is typed as a kMIDIObjectType_ExternalSource even though it's wired in AMS as a destination.

So obviously I've got myself tangled somewhere!

Thanks for any clarification,

Robert.


On Nov 28, 2003, at 3:41 PM, Robert Grant wrote:

Hi Jeremy,

Thanks - that was the missing bit of info! I was hunting through the headers and docs but couldn't see the wood for the trees.

Robert.

On Nov 28, 2003, at 3:19 PM, Jeremy Sagan wrote:

Robert,

Have you tried this:
static MIDIEndpointRef EndPointToConnectionEndPoint(MIDIEndpointRef sp)
{
CFDataRef UniqueConnectionIDArray;
OSStatus stat = MIDIObjectGetDataProperty(sp, kMIDIPropertyConnectionUniqueID, &UniqueConnectionIDArray);
....

Jeremy

On Friday, November 28, 2003, at 03:00 PM, Robert Grant wrote:

So I've got a MIDISport 2x2 connected to an Emu Proteus which is defined as such in AMS. But when I examine the MIDI Device to which that MIDI Endpoint is connected I get the MIDISport not the Proteus and as such have no way of finding it's MIDI name document.

How is one supposed to make the leap from the USB MIDI device to the actual external MIDI device?

I can find the Proteus by iterating over MIDIGetExternalDevice() - but I don't see how to make the link between the endpoint and the external device.

Thanks,

Robert.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Re: Finding External MIDI Devices (From: Jeremy Sagan <email@hidden>)
 >Re: Finding External MIDI Devices (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: AU from scratch
  • Next by Date: Re: Parameter automation from a Cocoa view
  • Previous by thread: Re: Finding External MIDI Devices
  • Next by thread: Subject: Re: kAudioUnitProperty_BusCount
  • Index(es):
    • Date
    • Thread