input midi data processing api change