edu.columbia.ee.csmit.MidiKaraoke.read
Class MidiCommandSorter.Info

java.lang.Object
  extended by 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.


Constructor Summary
MidiCommandSorter.Info(MidiCommand mc, int track, long ticks, double seconds)
          Constructor.
 
Method Summary
 MidiCommand getMidiCommand()
           
 double getSeconds()
           
 long getTicks()
           
 int getTrack()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MidiCommandSorter.Info

public MidiCommandSorter.Info(MidiCommand mc,
                              int track,
                              long ticks,
                              double seconds)
Constructor.

Parameters:
mc - the midi command
track - the track number for mc
ticks - the time in ticks for mc
seconds - the time in seconds for mc
Method Detail

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