reimplemented midi channel input with synth arch.