Need advice on making a MIDI keyboard.

Hello All,

I'am new to this forum and new to microcontrollers and electronics.... I don't know wether this is the right place to post this topic.

I was following the above website in making a MIDI keyboard. But my keyboard has 128 keys in a 16X8 matrix . so I made a small change to the schematics shown in above website , by adding one more shift register and using 4 more unused pins in the Uno board.

I have two questions

  1. is the schematic i have attached correct?

  2. How should I modify the code to make the keyboard work?

please excuse my novice attempt at make a schematic, and my almost zero knowledge in code writing.

expecting your support ,

regards,

Alex.