Lines Matching defs:MetaMessage
30 * A <code>MetaMessage</code> is a <code>{@link MidiMessage}</code> that is not meaningful to synthesizers, but
45 * a system reset message. In MIDI files, this same status value denotes a <code>MetaMessage</code>.
49 * data bytes, depending on the type of <code>MetaMessage</code>.
57 public class MetaMessage extends MidiMessage {
63 * Status byte for <code>MetaMessage</code> (0xFF, or 255), which is used
83 * Constructs a new <code>MetaMessage</code>. The contents of
88 public MetaMessage() {
94 * Constructs a new {@code MetaMessage} and sets the message parameters.
110 public MetaMessage(int type, byte[] data, int length)
118 * Constructs a new <code>MetaMessage</code>.
124 protected MetaMessage(byte[] data) {
138 * Sets the message parameters for a <code>MetaMessage</code>.
144 * follows the status byte in the <code>MetaMessage</code>. The <code>data</code> argument
145 * should contain all the subsequent bytes of the <code>MetaMessage</code>. In other words,
146 * the byte that specifies the type of <code>MetaMessage</code> is not considered a data byte.
168 this.data[1] = (byte) type; // MetaMessage type
177 * Obtains the type of the <code>MetaMessage</code>.
178 * @return an integer representing the <code>MetaMessage</code> type
215 MetaMessage event = new MetaMessage(newData);