Add midi output endpoint and fix a fluid noteoff bug