|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.columbia.ee.csmit.MidiKaraoke.read.TrackMidiImp
public class TrackMidiImp
Implements a couple of the interfaces for midi messages in the context of tracks and time.
| Constructor Summary | |
|---|---|
TrackMidiImp(int trackNumber,
double seconds,
long ticks)
|
|
| Method Summary | |
|---|---|
double |
getSeconds()
Returns the time in seconds at which this tempo change occurs. |
long |
getTicks()
Returns the time in ticks at which this tempo change occurs. |
int |
getTrackNumber()
Returns the track number associated with this note. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrackMidiImp(int trackNumber,
double seconds,
long ticks)
| Method Detail |
|---|
public int getTrackNumber()
TrackMidi
getTrackNumber in interface TrackMidipublic double getSeconds()
TrackMidi
getSeconds in interface TrackMidipublic long getTicks()
TrackMidi
getTicks in interface TrackMidi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||