void loop() {
// put your main code here, to run repeatedly:
sensor0Value = analogRead(sensor0Pin);
...
controlChange(0xB0, sensor0Value, 0x07); // VOLUME
...
}
You basically want to check for a change. For example:
if (sensor0Value != oldSensor0Value)
controlChange(0xB0, sensor0Value, 0x07); // VOLUME
oldSensor0Value = sensor0Value; // remember for next time through
Ditto for the others. Of course, you need to set up the oldSensor0Value variable.