2011/5/6 Renato <rennabh(a)gmail.com>om>:
isn't there some python module that lets you easily create an alsa midi
client and send midi data?
Try PyPortMidi with PortMidi
http://alumni.media.mit.edu/~harrison/pyportmidi.html
Today, there are countless other packages (search for the midi section):
http://wiki.python.org/moin/PythonInMusic
But *beware* to use python for any serious (real-time) midi-processing.
Timing is bad and unreliable.
Eventually the serpent language would offer an alternative then.
http://www.cs.cmu.edu/~music/aura/serpent-info.htm
--
E.R.