Using Arduino Uno as a controller for Logic Pro

I'm having a bit of trouble trying to figuring out how to get the Arduino Uno to act as a midi controller for Logic Pro. My project consists of 5 foot locking switches which I want to use as mute controls for Logics channel strips. I'm very experienced with Logic but very new to Arduino. I've managed to set up the switches so that the serial monitor on Arduino reads it's state of the switch, from here though I am puzzled. From what I understand, the next stage consists of converting the language into midi so that it can be channeled into Logic. If anybody is able to help I would really appreciate it.

Thanks Roo

Here is a link to get you started. http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1264513839

If you need help writing your code go to the programming questions area and read the before you post sticky.