simple translator to change incoming midi channel

I just want to program a switch to change input Midi Ch 1 to output Midi Ch 1 or 2. I’m stumped