Problems sending midi messages - values not the same at arrival

That did it, thanks a lot!

That sounds a lot more logical, actually... I must have gotten confused (lol) from always finding the midi CC codes in hex format...

Btw, this might sound really stupid, but my sketch is over 7k with that midi function I used. When I use the midi.h library instead, it goes to around 5k O_o
Nothing else gets changed, just removing my function and changing the calls to midi.h's own midisend function.

Is there a reason for this other than the function being in library being built in C and mine has to be converted?