Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Re: [MBS] MIDI Destinations and External Devices (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] PortAudioMBS glitches
Next thread: [MBS] 7.0pr4


RE: [MBS] New Payment type ideas?   -   Giovanni
  Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
   [MBS] MIDI Destinations and External Devices   -   Ron Benditt
    Re: [MBS] MIDI Destinations and External Devices   -   Christian Schmitz
   Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
   [MBS] 2.8a11   -   Christian Schmitz

Re: [MBS] MIDI Destinations and External Devices
Date: 07.01.07 14:28 (Sun, 7 Jan 2007 8:28:00 -0500)
From: Ron Benditt
>Well, maybe you have to check the properties of those devices to tell
>whether they are online or not.
>
>But maybe you better ask an Apple engineer.
>
>Gruß
>Christian

Checking the device properties is the first thing that I've tried, only the "online" property is not there for external devices. There does not appear to be a way to determine the complete routing map - what device is connected to what port and what port is on what interface. Looks like I need to look into the CoreMIDI API a bit more.

Thanks,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] MIDI Destinations and External Devices
Date: 06.01.07 06:41 (Sat, 6 Jan 2007 00:41:49 -0500)
From: Ron Benditt
Hello,

With the CoreMIDI plugin routines, I am able to get a listing the
names of all of my online MIDI ports on my connected MIDI
interfaces. These are returned as "destinations", and only those
that are "online" are shown. What I would like is a list of all
external devices that are connected to these online destinations. If
I use MIDIClientMBS.GetNumberOfExternalDevices and then build up a
list using MIDIClientMBS.GetExternalDevice, I end up with a listing
of all devices that are defined in Audio MIDI Setup that may or may
not be online. How can I make a list of the names of only the
external devices that are connected to "online" destinations?

Thanks,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] MIDI Destinations and External Devices
Date: 06.01.07 15:19 (Sat, 6 Jan 2007 15:19:27 +0100)
From: Christian Schmitz
Ron Benditt <<email address removed>> wrote:

> Hello,
>
> How can I make a list of the names of only the external devices that are
> connected to "online" destinations?

Well, maybe you have to check the properties of those devices to tell
whether they are online or not.

But maybe you better ask an Apple engineer.

Gruß
Christian

-

Re: [MBS] MIDI Destinations and External Devices
Date: 09.01.07 08:57 (Tue, 9 Jan 2007 02:57:11 -0500)
From: Ron Benditt
It turns out that some of the included example code does exactly what
I was looking for. I was actually doing it that way myself, but I
got foiled by the different "endianness" of the memoryblocks when
compiling for Mac Intel. That had me for a while! Ha!

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info