public class MetaMessage extends MidiMessage
The way
these messages are separated into bytes for storing in
data
is the same as specified in the
Standard MIDI File Format, except that no delta time in ticks is stored
here.
Modifier and Type | Field and Description |
---|---|
static int |
META
Status byte for meta messages (value 255, 0xff).
|
Constructor and Description |
---|
MetaMessage()
Create a container for a MIDI meta message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
TODO:
|
byte[] |
getData()
TODO:
|
int |
getType()
TODO:
|
void |
setMessage(int nType,
byte[] abData,
int nDataLength)
TODO:
|
getLength, getMessage, getStatus
public static final int META
public MetaMessage()
setMessage(int, byte[], int)
public void setMessage(int nType, byte[] abData, int nDataLength) throws InvalidMidiDataException
InvalidMidiDataException
public int getType()
public byte[] getData()
public java.lang.Object clone()
clone
in class MidiMessage