Tweaked linux midi to use direct rather than buffered output.