MIDI Keyboard Encoder - Arduino Piano/Keyboard (question)

Well, I'm not sure that downloading Keypad Libraries would help me. So, let me make more clear :slight_smile:
As I told in a previous post I found this wiring diagram ---> http://midikits.net23.net/midi_8x9_keys/keys_8x9_switches.gif
and I think its ideal. It is really easy for me to make so this would be the one I am considering to use (unless sb has a better solution). The hardware issue is really sorted out! My only problem is how I' m going to make the Arduino to translate the short of two pins to binary information ready to be read by a midi software. This my plan:

  1. I Press a key.
  2. A switch creates a closed circuit between 2 Arduino pins.
  3. The Arduino "senses" that.
  4. And begins the "translation" process.
  5. Then it sends out a signal to the MIDI connector.
  6. The signal then is read by a MIDI device (which in my case would be the computer).

I have figured out steps 1, 2 and 6, but I have no idea what to do for steps 3 to 5. Keep in my mind that I'm not sure if this is the process required in order to output a MIDI signal, but I believe that you will understand what my point is.

Thank you for all your answers and help :slight_smile: