I'm currently trying to add MIDI support to serial-pyio, but I couldn't find any "this is *the* one" MIDI module that is OS independent.
The closest one seems to be "PySndObj" (a Python wrapper for SndObj)
Currently, only v1.02 seems to be available for all platforms. I learned that the hard way, because for v1.3, the sourceforge download page offers 3 files - but the one with "Linux" in its name is actually for Linux on PPC (!!).
Here's what you get if you accidentially try to run that version on i386 hardware:
_sndobj.so: ELF file data encoding not little-endian
Yeah. To make Pyrex compatible with C++ enumerations are no longer treated as integers, though assignment of an enumeration to an integer
is still allowd. Not accepting an enumeration as a boolean value may be a bug. I would have to check. But then again it makes some sense. Just edit line 357 to be:
Built on Ubuntu Hardy, 32bit.
It contains binaries for Python 2.4 and 2.5
It should work on any Debian based system, as long as the version requirements of its dependencies are met. I've (again) learned a lot about Debian packaging, since Python packags are different - and even a bit more complicated when it's an extension.