Tools + Auto Format would make that mess more readable.
Why are you adding 0 to all the analogRead() values?
Why are you passing a pin number to sender() when sender never uses it?
Why are you sending an empty string to the function?
What is on the other end of the Serial port? What is that expected to do with the carriage return and line feed that you send in sender after each MIDI message?
Is 57600 the correct speed? I thought MIDI was 38400.