PortMidi does list internal midi devices on OS X. You can use "Audio MIDI Setup.app" (probably in /Applications/Utilities) to view devices and create "soft ports" using the IAC Driver. My Audio MIDI Setup.app appears to show every device that has been plugged in at one time or another (these appear faded out), but PortMidi only tells you about devices that are active. The PmDefaults application lets you save preferences -- if the preferred device is available when PortMidi is initialized, it can be located using Pm_GetDefaultInputDeviceID() or Pm_GetDefaultOutputDeviceID().

I often use SiimpleSynth.app with PortMidi. SimpleSynth can listen to either an IAC port or it can listen to its own SimpleSynth port. This has to match the device selected by PortMidi for messages to get through.

-Roger


René Dudfield wrote:
Hi,

is portmidi supposed to be able to list internal midi devices on OSX?

So should people be able to open an internal midi device and make beeps out of it? Or is there something that needs to be started before that works?

_______________________________________________
media_api mailing list
media_api@create.ucsb.edu
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to