On Mon, Nov 11, 2013 at 10:18 PM, Paul D. DeRocco <[email protected]> wrote: > I'd like to use PyGTK as the basis for a cross-platform (Win/Mac/Linux) > controller for MIDI keyboards, but there's no built-in MIDI support, so > I'll need to write my own, which will of course involve writing three > different C modules, one for each platform. What I'd like to know is how > to deal with the issue of making asynchronously received data present > itself as some sort of event.
Take a look at portmidi: http://sourceforge.net/p/portmedia/wiki/portmidi/ It is a portable midi library. The repository contains Cython based bindings for Python and is distributed as the "python-pypm" package on debian. -Simon _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
