Invert Midi Fader

Is it possible to invert a midi fader so that values do not change from 0 to 127, but from 127 to 0.

Yes, please find the attached. The key rule that does this is taking the input value of qq and subtracting it from 127.

// Capture values for display only
rr=oo+1
tt=qq
// invert value
qq=127-qq
// display values
Log "Log CC %pp% in MIDI CH %rr% incoming value=%tt% outgoing value=%qq%"

We use oo as the incoming MIDI CH, pp as the CC# and qq as the value.

I have my aliases set up as follows:

You can learn more about aliases from this tutorial.

My port selection is as follows.

For more information about device selection, see this tutorial.

CC-Reverse-value.bmtp (1.8 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz