added shift register to also be able to switch midi channels