Check for valid input/output id. Only play sound if note from midi input is inside the range of the keyboard.