|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sound.midi.MidiMessage
javax.sound.midi.MetaMessage
public class MetaMessage
Container for meta messages. This class is used to represent meta events that are commonly stored in MIDI files. Note that normally, meta messages are not meaningful when sent over the wire to a MIDI instrument.
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.
Field Summary | |
---|---|
static int |
META
Status byte for meta messages (value 255, 0xff). |
Constructor Summary | |
---|---|
MetaMessage()
Create a container for a MIDI meta message. |
Method Summary | |
---|---|
java.lang.Object |
clone()
TODO: |
byte[] |
getData()
TODO: |
int |
getType()
TODO: |
void |
setMessage(int nType,
byte[] abData,
int nDataLength)
TODO: |
Methods inherited from class javax.sound.midi.MidiMessage |
---|
getLength, getMessage, getStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int META
Constructor Detail |
---|
public MetaMessage()
setMessage(int, byte[], int)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |