I dunno if it's got anything to do with your new midi implementation but
alsamidi devices just stop working here after about 15 minutes or so
with no errors in the console. jackmidi is unaffected. i'm seeing posix
errors in the console for jack but that shouldn't have any effect on alsa.