Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
void | sendMidi (int status, int data1, int data2) |
void | sendSysex (String hexString) |
void | sendSysex (byte[] data) |
void | sendSysexBytes (byte[] data) |
void | setShouldSendMidiBeatClock (boolean shouldSendClock) |
Instances of this interface are used to send MIDI messages to a specific MIDI hardware.
void sendMidi | ( | int | status, |
int | data1, | ||
int | data2 | ||
) |
Sends a MIDI message to the hardware device.
status | the status byte of the MIDI message, system messages are not permitted. |
data1 | the data1 part of the MIDI message |
data2 | the data2 part of the MIDI message |
void sendSysex | ( | byte[] | data | ) |
Sends a MIDI SysEx message to the hardware device.
data | the array of bytes to send |
void sendSysex | ( | String | hexString | ) |
Sends a MIDI SysEx message to the hardware device.
hexString | the sysex message formatted as hexadecimal value string |
void sendSysexBytes | ( | byte[] | data | ) |
Sends a MIDI SysEx message to the hardware device. This method is identical to sendSysex(byte[]) but exists so that Javascript controllers can explicitly call this method instead of relying on some intelligent overload resolution of the Javascript engine based on its loose type system.
data | the array of bytes to send |
void setShouldSendMidiBeatClock | ( | boolean | shouldSendClock | ) |
Enables or disables sending MIDI beat clock messages to the hardware depending on the given parameter. Typically MIDI devices that run an internal sequencer such as hardware step sequencers would be interested in MIDI clock messages.
shouldSendClock | true in case the hardware should receive MIDI clock messages, false otherwise |