edu.columbia.ee.csmit.MidiKaraoke.read
Class MidiCommandSorter.Info
java.lang.Object
edu.columbia.ee.csmit.MidiKaraoke.read.MidiCommandSorter.Info
- Enclosing class:
- MidiCommandSorter
public static class MidiCommandSorter.Info
- extends java.lang.Object
Stores a MidiCommand and all the useful information about it in
the midi stream, namely the track number, time in ticks, and time in
seconds.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MidiCommandSorter.Info
public MidiCommandSorter.Info(MidiCommand mc,
int track,
long ticks,
double seconds)
- Constructor.
- Parameters:
mc - the midi commandtrack - the track number for mcticks - the time in ticks for mcseconds - the time in seconds for mc
getMidiCommand
public MidiCommand getMidiCommand()
getTrack
public int getTrack()
getTicks
public long getTicks()
getSeconds
public double getSeconds()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object