Need help shift register for midi note input

Hm, okay. Have you considered using a PS2 keyboard? If I remember correctly there is a suitable library for Arduino. Or maybe use some sort of IR remote control? For example, an IR remote control that is connected with a cable to the Arduino. So you will only need 1 pin from the microcontroller.