• 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
Mapping external devices to non-external devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mapping external devices to non-external devices


  • Subject: Mapping external devices to non-external devices
  • From: Ilya Maykov <email@hidden>
  • Date: Sat, 27 Sep 2003 19:33:20 -0700

Hi everyone,

I'm sorry if this has been asked before, but I have what I hope is a pretty simple question. First, let me describe the situation:

- Machine running Mac OS X, using MOTU USB Fast Lane MIDI interface. The interface has 2 MIDI-in ports and 2 MIDI-Out ports.
- Roland XP-10 connected to port A (or port 0, whatever) of the Fast Lane.
- In my app, to access the XP-10 it seems that I have to use the fast lane and I cannot send to or receive from the XP-10 directly. That is, the XP-10 shows up as external device 0 but has no MIDI entities or endpoints, while the Fast Lane shows up as MIDI Device 0 and has 2 entities (these are the ports), and each entity has a destination endpoint and a source endpoint.

Here is the problem - I want my application to be able to present the user with the names of all connected hardware MIDI devices (i.e. external devices), and give the user the ability to send or receive to and from these devices. So it seems that there are two solutions - either create entities and endpoints on the external device (not sure if this is possible / is a good idea?), or somehow map the external device to the actual non-external device that it is connected to. That is, the user will be interacting with external device 0, the XP-10, but behind the scenes the program will actually be working with non-external device 0, MOTU Fast Lane, and interact with the XP-10 through the appropriate MIDI Entity / Endpoint on the Fast Lane. Obviously, this needs to be portable to work with any MIDI Interface and any MIDI Device. Does anyone have any ideas? Let me know if you want me to clarify anything, but I am just really frustrated with CoreMIDI's documentation and figured that someone on this forum must have done something like this at some point. Thanks for the help.

Ilya Maykov

P.S. I am using the C API, not the Java one.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mapping external devices to non-external devices
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Resizing AU Views (Carbon)
  • Next by Date: Weird AU GUI lock and kAudioUnitParameterFlag_IsGlobalMeta
  • Previous by thread: Re: converting from interleaved to noninterleaved
  • Next by thread: Re: Mapping external devices to non-external devices
  • Index(es):
    • Date
    • Thread