changed midi inMessage[1] for readindx