Linux ALSA sequencer midi driver code

this time with the actual code :P