Problems sending midi messages - values not the same at arrival

On the full sketch I'm working with, I'm using 5 buttons through a 4021 IC, each triggering a midi CC message, and those work fine, so I'm guessing the midi function is ok.
I originally thought that since serial isn't synchronous, there might be some byte sending before previous message was fully sent, but if that was the case, the midi message wouldn't be correctly received by midi ox...

Also, I just tested with the Midi.h library, and messages are passed on ok, so I'm kinda stumped on this one... It's something in my midi message function, but I can't really understand what. Hex conversion is also correct, from 00 to 7f, checking with 9600 baud rate like I said...