On Fri, Oct 9, 2009 at 2:42 PM, Roger Dannenberg <r...@cs.cmu.edu> wrote:

>
>
> 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
>
>
>
Thanks for the explanation Roger.

I wonder how SDL_mixer on OSX can play midi files.  I'm guessing it uses a
different API, and there must be something in OSX that plays the midi files
that's separate to CoreMidi.  I thought that maybe OSX would come with a
midi built in to every machine.

I guess fluidsynth might be another free choice now that it's got support
for OSX too.


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

Reply via email to