메소드 | 설명 | |
---|---|---|
MetaEvent ( byte type, byte data, ushort length ) : void | ||
Send ( byte status, byte firstOp, byte secondOp ) : void |
Output a midi command to the midi stream. Convenience wrapper around the usual 'packed' send method. Do NOT use this for sysEx transmission; instead, use the sysEx() method below.
|
|
Send ( int b ) : void |
Output a packed midi command to the midi stream. The 'lowest' byte (i.e. b & 0xFF) is the status code, then come (if used) the first and second opcode.
|
|
SysEx ( byte msg, ushort length ) : void |
Transmit a sysEx to the midi device. The given msg MUST NOT contain the usual SysEx frame, i.e. do NOT include the leading 0xF0 and the trailing 0xF7. Furthermore, the maximal supported length of a SysEx is 264 bytes. Passing longer buffers can lead to undefined behavior (most likely, a crash).
|
public MetaEvent ( byte type, byte data, ushort length ) : void | ||
type | byte | |
data | byte | |
length | ushort | |
리턴 | void |
public Send ( byte status, byte firstOp, byte secondOp ) : void | ||
status | byte | Status. |
firstOp | byte | First op. |
secondOp | byte | Second op. |
리턴 | void |