converting to midi mode