MIDIControlTransform
A structure that describes the transformation of MIDI control change events.
Declaration
struct MIDIControlTransformOverview
A single parameters object may describe any number of transformations to control events. It’s important to order multiple transformations correctly: filter out, remap, and then alter values.
The system performs all transformations internally using 14-bit values, so when you perform an add, min, or max transform on a 7-bit control value, the parameter must be a 14-bit value. For example, to add 10 to a control value, the parameter must be (10 << 7) = 1280.
Based on the MIDI specification, the system interprets several controls specially:
Control | Function |
|---|---|
32-63 | The least signifcant bit of 0-31. |
6/38 | Data entry. |
96, 97 | Data increment and decrement, respectively. |
98-101 | NRPN/RPN |