Please edit your post to put the code in </> code tags which will get rid of the italics.
What Arduino? What output circuit are you using? How exactly are you connecting that program to the Hammond?
In that code I can't see your NoteOn and NoteOff doing anything other than Serial.prints. Where are the MIDI messages?
Steve