Instances of this interface are used to send MIDI messages to a specific MIDI hardware.
- Since
- API version 1
Definition at line 8 of file MidiOut.java.
| void sendMidi |
( |
int |
status, |
|
|
int |
data1, |
|
|
int |
data2 |
|
) |
| |
Sends a MIDI message to the hardware device.
- Parameters
-
| status | the status byte of the MIDI message |
| data1 | the data1 part of the MIDI message |
| data2 | the data2 part of the MIDI message @ |
- Since
- API version 1
| void sendSysex |
( |
String |
hexString | ) |
|
Sends a MIDI SysEx message to the hardware device.
- Parameters
-
| hexString | the sysex message formatted as hexadecimal value string @ |
- Since
- API version 1
| void sendSysex |
( |
byte[] |
data | ) |
|
Sends a MIDI SysEx message to the hardware device.
- Parameters
-
| hexString | the sysex message formatted as hexadecimal value string @ |
- Since
- API version 1
| 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.
- Parameters
-
| shouldSendClock | true in case the hardware should receive MIDI clock messages, false otherwise \xrefitem deprecated 130. |
- Since
- API version 1
The documentation for this interface was generated from the following file: