edu.columbia.ee.csmit.MidiKaraoke.read
Class LyricsViewParser

java.lang.Object
  extended by edu.columbia.ee.csmit.MidiKaraoke.read.LyricsViewParser

public class LyricsViewParser
extends java.lang.Object

Parses a Sequence for lyric commands, which it combines together into an LyricsInMidi.


Constructor Summary
LyricsViewParser()
           
 
Method Summary
static LyricsInMidi parse(javax.sound.midi.Sequence seq)
          Parses a sequence and extracts the lyric events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyricsViewParser

public LyricsViewParser()
Method Detail

parse

public static LyricsInMidi parse(javax.sound.midi.Sequence seq)
                          throws SequenceDivisionTypeException
Parses a sequence and extracts the lyric events. Note that the sequence must have division type pulses (ticks) per quarter note.

Parameters:
seq - The sequence you want to parse
Returns:
the lyrics
Throws:
edu.columbia.ee.csmit.MidiKaraoke.SequenceDivisionTypeException
SequenceDivisionTypeException