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

All Superinterfaces:
MetaCommand, MidiCommand
All Known Subinterfaces:
LyricInTrack

public interface Lyric
extends MetaCommand

Stores a lyric meta command.

See Also:
LyricParser

Method Summary
 java.lang.String getText()
          Returns the text associated with this command.
 byte[] getTextBytes()
          Returns the raw binary bytes that contain the ascii-encoded characters.
 
Methods inherited from interface edu.columbia.ee.csmit.MidiKaraoke.MidiMessage.MidiCommand
getLength, getMessage
 

Method Detail

getText

java.lang.String getText()
Returns the text associated with this command. I have found in .kar files that "text-" means that this is one syllable in a multiple-syllable word. In other words, if "hello" is separated across different notes, you will probably get one lyric command with "he-" and one with "llo".

Returns:
the lyric

getTextBytes

byte[] getTextBytes()
Returns the raw binary bytes that contain the ascii-encoded characters.

Returns:
the raw ascii for the text