API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. MidiMessage View Source
Author(s)
David Rivas
Kara Kytle
Since
Version
1.30, 05/11/17
Serial
Hierarchy
 Object
      MidiMessage
Implements
 Cloneable
Subclasses
Description
publicabstract abstract class MidiMessage
  MidiMessage is the base class for MIDI messages.
See also:    Track Sequence Receiver
Constructors
protected MidiMessage (byte[] data)
  Constructs a new MidiMessage.
Methods
Hide/Show inherited methods
publicabstract Object clone ()
  Creates a new object of the same class and with the same contents as this object.
public int getLength ()
  Obtains the total length of the MIDI message in bytes.
public byte getMessage ()
  Obtains the MIDI message data.
public int getStatus ()
  Obtains the status byte for the MIDI message.
protected void setMessage (byte[] data, int length) throws InvalidMidiDataException
  Sets the data for the MIDI message.
Fields
Hide/Show inherited fields
protected byte data
  The MIDI message data.
protected int length
  The number of bytes in the MIDI message, including the status byte and any data bytes.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar