Any and all details greatly appreciated.
when i removed the map funcs and devided the pots by 8 as was said in previous reply i get the same problem as before nothing changes
As has already been pointed out, the "map" functions were in the wrong place, so replacing them with any operation whatsoever would not have made any difference.
The "map" does not bind in some magical way to a variable when you declare it, you have to call the function when you want it to act on a variable.
Bearing in mind that I know virtually nothing about MIDI, can you explain what happened to controllers 0x0a, 0x0b, 0x0c, 0x0d 0x0e and 0x0f here:
sensor2Value = controlChange(0xB0, sensor2Pin, sensor2Value, 0x09); // VOLUME
sensor3Value = controlChange(0xB0, sensor3Pin, sensor3Value, 0x10); // VOLUME
or does MIDI use BCD (Binary Coded Decimal) ?