Re: Connecting MIDI devices
Re: Connecting MIDI devices
- Subject: Re: Connecting MIDI devices
- From: Thomas Hudson <email@hidden>
- Date: Thu, 22 Nov 2001 16:16:02 -0800
On Tuesday, November 20, 2001, at 06:58 PM, Brian Luft wrote:
With the CoreMIDI API, how do I connect a source to a destination such
that all data from the source is routed to the destination? I tried
MIDIPortConnectSource, but it doesn't quite seem to be what I'm looking
for.
You actually want to connect sources to input ports and destinations to
output ports. Ports are actually used to send or receive midi data.
The example in /Developer/Examples/CoreAudio/MIDI/SampleTools shows
how to connect a source to an input port and send out the received
messages through an output port to a destination.
A similar question is what is going to be the convention used by
applications supporting virtual endpoints. Should apps let users
specify input connections, or output connections? Or should apps
only declare endpoints and rely on an external app to manage connections?
Thomas