play MIDI files in python?

The pygame module can be used to play midi files.

http://www.pygame.org/docs/ref/music.html

See the example here:

http://www.daniweb.com/software-development/python/code/216979

a whole bunch of options available at:

http://wiki.python.org/moin/PythonInMusic

and also here which you can modify to suit your purpose:
http://xenon.stanford.edu/~geksiong/code/playmus/playmus.py

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)