public class TempoCache extends Object
This class is intended to be used only by the midi package and its subpackages.
Constructor and Description |
---|
TempoCache(Sequence sequence)
Constructs a new TempoCache with the specified MIDI Sequence
|
Modifier and Type | Method and Description |
---|---|
long |
ticksToMicroseconds(long ticks)
Converts a MIDI tick into elapsed microseconds
|
public TempoCache(Sequence sequence)
sequence
- the Sequence
to build a tempo cache forpublic long ticksToMicroseconds(long ticks)
ticks
- the MIDI ticks to convert into microsecondsCopyright © 2015 Kreatious LLC. All rights reserved.