Control Surface API  1.1.11
MidiOut Interface Reference

Public Member Functions

void sendMidi (int status, int data1, int data2) throws ControlSurfaceException
void sendSysex (String hexString) throws ControlSurfaceException
void setShouldSendMidiBeatClock (boolean shouldSendClock) throws ControlSurfaceException

Detailed Description

Instances of this interface are used to send MIDI messages to a specific MIDI hardware.

Since:
Bitwig Studio 1.0

Definition at line 10 of file MidiOut.java.


Member Function Documentation

void sendMidi ( int  status,
int  data1,
int  data2 
) throws ControlSurfaceException

Sends a MIDI message to the hardware device.

Parameters:
statusthe status byte of the MIDI message
data1the data1 part of the MIDI message
data2the data2 part of the MIDI message
Exceptions:
ControlSurfaceException
Since:
Bitwig Studio 1.0
void sendSysex ( String  hexString) throws ControlSurfaceException

Sends a MIDI SysEx message to the hardware device.

Parameters:
hexStringthe sysex message formatted as hexadecimal value string
Exceptions:
ControlSurfaceException
Since:
Bitwig Studio 1.0
void setShouldSendMidiBeatClock ( boolean  shouldSendClock) throws ControlSurfaceException

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.

Parameters:
shouldSendClock`true` in case the hardware should receive MIDI clock messages, `false` otherwise
Exceptions:
ControlSurfaceException
Since:
Bitwig Studio 1.0

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables