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

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

public class ProgramChangeViewParser
extends java.lang.Object


Constructor Summary
ProgramChangeViewParser()
           
 
Method Summary
static ProgramChangesInMidi 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

ProgramChangeViewParser

public ProgramChangeViewParser()
Method Detail

parse

public static ProgramChangesInMidi 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