fixed a bug in my code and one in Dave's. Playing midi should now work, but Hirsch needs to fix the velocity first