added hires midi clock functions