edu.columbia.ee.csmit.MidiKaraoke.MidiMessage
Interface MidiCommand

All Known Subinterfaces:
ControlChange, Copyright, CuePoint, KeySignature, Lyric, LyricInTrack, Marker, MetaCommand, MidiCommandWithChannel, NoteOff, NoteOn, PitchWheelChange, PitchWheelChangeInTrack, ProgramChange, ProgramChangeInTrack, SetTempo, SetTempoInTrack, Text, TimeSignature, TimeSignatureInTrack, TrackEnd, TrackInstrumentName, TrackName, TrackSequenceNumber
All Known Implementing Classes:
MetaCommandParser.Command, MidiCommandParser.Command, MidiCommandWithChannelParser.Command, SetTempoParser.Command, TimeSignatureParser.Command

public interface MidiCommand

Stores the information associated with midi message commands.

See Also:
MidiCommandParser

Method Summary
 int getLength()
          Returns the length of the raw message in bytes.
 byte[] getMessage()
          Returns the raw message bytes.
 

Method Detail

getLength

int getLength()
Returns the length of the raw message in bytes.

Returns:
the length of the message

getMessage

byte[] getMessage()
Returns the raw message bytes.

Returns:
the message