i really recommend pyseq and midikinesis by peter brinkmann... you can
find it here:
http://www.math.tu-berlin.de/~brinkman/software/
after playing around in python interactive shell (actually ipython for
me) for a bit i got note playing in fluidsynth.. this is how it looked
like:
1 : import pyseq
2 : seq = pyseq.MidiTee('miditi')
## after this you can find miditi with aconnect -lo or -li or better
qjackctl.. connect it with fluidsynth or some other synth and then:
3 : e=pyseq.snd_seq_event()
4 : e.setNoteOn(0, 60, 127)
5 : seq.callback(e)
this was way easier than anything else i ever tried... i dunno if this
is the right way to do that but i just feel to say: all kudos to
brinkman ;)