URGENT: Aurduino MIDI - Hairless

Would the order for the midi not be note message, note number and velocity? Thats whats coming up in the serial monitor so i thought thats all that would get sent to Hairless, as for the lists, I'm not sure, we adapted this from existing code.

Esentially i just want to use the LDR's as switches whicc triger a midi message of a set note and velocity when theres a drop in light and send a midi off message for the same note when the light increases. I have it printing what appears to be the correct midi message in the serial monitor under these conditions but they come up as errors or random messages in hairless