|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.columbia.ee.csmit.MidiKaraoke.read.LyricsInMidi
public class LyricsInMidi
Stores all the lyrics associated with a particular midi file.
| Nested Class Summary | |
|---|---|
class |
LyricsInMidi.Line
Stores a line of lyrics. |
| Constructor Summary | |
|---|---|
LyricsInMidi(java.util.ArrayList<LyricInTrack> lyrics)
Constructs a lyrics roll. |
|
| Method Summary | |
|---|---|
LyricsInMidi.Line[] |
getLines(int trackNumber)
Gets the lines of lyrics. |
LyricInTrack[] |
getLyrics()
Gets all the lyrics from all the tracks. |
LyricInTrack[] |
getLyrics(int trackNumber)
Get the lyrics from a particular track |
int[] |
getTrackNumbers()
Finds all the tracks associated with lyrics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LyricsInMidi(java.util.ArrayList<LyricInTrack> lyrics)
lyrics - the lyrics arranged in time order| Method Detail |
|---|
public LyricInTrack[] getLyrics()
public int[] getTrackNumbers()
public LyricInTrack[] getLyrics(int trackNumber)
trackNumber - - the track number of the lyrics
public LyricsInMidi.Line[] getLines(int trackNumber)
trackNumber - - track number of lyrics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||