Re: CoreMidi and Virtual EndPoints
Re: CoreMidi and Virtual EndPoints
- Subject: Re: CoreMidi and Virtual EndPoints
- From: Pierre-Olivier Latour <email@hidden>
- Date: Wed, 15 Jan 2003 23:13:25 -0800
>
> In my opinion, this is the expected behavior. From the MIDI point of
>
> view, "Audio MIDI Setup" is a remake of the old OMS Studio Setup
>
> application. It is intended to manage descriptions of the connection of
>
> your computer to real MIDI equipments (in term of physical devices).
>
>
This is also my understanding. Using the terminology in the CoreMIDI
>
API: Audio MIDI Setup lets you describe how "external devices" (like
>
synths and keyboards) are connected to "devices" (usually MIDI
>
interfaces). It doesn't actually connect anything itself, in the
>
current version.
Then I don't get it: what's the point of virtual endpoints if the user can't
redirect them to the physical devices?
Either you create virtual endpoints that are only connectable to other apps
on your computer, or your app connects directly to a device, but then other
apps cannot communicate with it (unless they create virtual endpoints), or
you do both and it's a mess.
Say I want my app to be able to receive MIDI from either external devices or
other apps: if I create a virtual destination endpoint (no UI required),
other apps can connect to it (since my app appears as a device to them), but
the user can't connect any hardware device to it. If I create an input port
that I connect to a selected source (UI required), then only apps that have
a virtual source will appear in the list.
Another thing that is missing (unless I haven't seen it) are permanent
references to MIDI sources i.e. Instead of using a simple number from 0 to
n, use an "unique ID" made from the vendor id / product id of the device or
app, so that if the user changes the midi setup and source numbers change,
you can still find it using this "unique ID".
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Palo Alto, USA
http://www.pol-online.net
_______________________________________________
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.