OK, let's forget this all and use a dedicated USB to MIDI chip...