Range value transform
Converts an input value from one range to another.
This simple macro will transform a value from within a user-defined input range (e.g. 0 to 1) to a different user-defined range (e.g. 1 to 127). It's very easy to convert to Core if you need to.