The MIDI Variable Controller Output building block is used to generate MIDI Control Change messages that have a Controller value that is determined when the message is generated.
A MIDI Variable Controller Output building block has one Number input and one Number output. When the input value changes, the building block will generate a MIDI Control Change message with a predetermined Controller number and a Controller value equal to the input value, then set its output value equal to its input value.
To configure a MIDI Variable Controller Output building block, select the Controller number to be used in the MIDI Control Change messages. If the selected Controller has both course and fine values, the block can be configured to interpret its input as combined course and fine value (0–16383), or as the control value alone (0–127). When the input is interpreted as a combined value, two MIDI Control Change messages will be generated each time the input value changes. The first will contain the course portion of the Control value, the second will contain the fine portion of the Control value.
In the example to the right, the MIDI Variable Controller Output building block will generate a MIDI Control Change messages with a Controller number of "0" (Bank Select) and interpret the input value as the control value alone.