Midi2Controller.
More...
#include <ivstmidimapping2.h>
|
| uint8 | byte1 |
| | Bits 0-6 of byte1 specify the bank.
|
| |
| uint8 | byte2 |
| | Bits 0-6 of byte2 specify the controller index.
|
| |
Midi2Controller.
describes a MIDI 2.0 Registered or Assignable Controller
◆ isRegisteredController()
Returns true if the MIDI2 controller struct is a registered controller and false if it is an assignable controller.
◆ bank()
Returns the bank number of the MIDI2 controller struct.
◆ index()
Returns the index number of the MIDI2 controller struct.
◆ create()
Creates a new MIDI2 controller struct.
◆ setIsRegisteredController()
| static void setIsRegisteredController |
( |
Midi2Controller & | mc, |
|
|
bool | registered ) |
|
inlinestatic |
Sets the flag of the MIDI2 controller struct if it describes a registered or assignable controller.
◆ setBank()
Set the bank number of the MIDI2 controller struct.
◆ setIndex()
Set the index number of the MIDI2 controller struct.
◆ byte1
Bits 0-6 of byte1 specify the bank.
Bit 7 (MSB) indicates the controller type: set = registered controller, clear = assignable controller.
◆ byte2
Bits 0-6 of byte2 specify the controller index.