use factored out ScalaMIDI