API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. MetaMessage View Source
Author(s)
David Rivas
Kara Kytle
Since
Version
1.25, 05/11/17
Serial
Hierarchy
 Object
      MidiMessage
          MetaMessage
Implements
Subclasses
Description
public class MetaMessage
  A MetaMessage is a MidiMessage that is not meaningful to synthesizers, but that can be stored in a MIDI file and interpreted by a sequencer program.
See also:    MetaEventListener
Constructors
public MetaMessage ()
  Constructs a new MetaMessage.
protected MetaMessage (byte[] data)
  Constructs a new MetaMessage.
Methods
Hide/Show inherited methods
public Object clone () [Specified in MidiMessage]
  Creates a new object of the same class and with the same contents as this object.
public byte getData ()
  Obtains a copy of the data for the meta message.
public int getLength () [Inherited From MidiMessage]
  Obtains the total length of the MIDI message in bytes.
public byte getMessage () [Inherited From MidiMessage]
  Obtains the MIDI message data.
public int getStatus () [Inherited From MidiMessage]
  Obtains the status byte for the MIDI message.
public int getType ()
  Obtains the type of the MetaMessage.
protected void setMessage (byte[] data, int length) throws InvalidMidiDataException [Inherited From MidiMessage]
  Sets the data for the MIDI message.
public void setMessage (int type, byte[] data, int length) throws InvalidMidiDataException
  Sets the message parameters for a MetaMessage.
Fields
Hide/Show inherited fields
protected byte data [Inherited From MidiMessage]
  The MIDI message data.
protected int length [Inherited From MidiMessage]
  The number of bytes in the MIDI message, including the status byte and any data bytes.
publicfinalstatic int META = "255"
  Status byte for MetaMessage (0xFF, or 255), which is used in MIDI files.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar