|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
toxi.music.QuantizedTimeProvider
public class QuantizedTimeProvider
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
QuantizedTimeProvider(double tempo,
int beats,
int ticks)
|
Method Summary | |
---|---|
int |
getBeatsPerBar()
|
toxi.util.events.EventDispatcher<QuantizedTimeHandler> |
getDispatcher()
|
double |
getTargetTempo()
|
double |
getTempo()
|
double |
getTempoChangeSpeed()
|
int |
getTicks()
|
int |
getTicksPerBar()
|
int |
getTicksPerBeat()
|
void |
makeHighPriority()
|
void |
run()
|
void |
setBeatsPerBar(int beatsPerBar)
|
void |
setTargetTempo(double targetBPM)
|
void |
setTempo(double bpm)
|
void |
setTempoChangeSpeed(double tempoChangeSpeed)
|
void |
setTicksPerBeat(int ticksPerBeat)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuantizedTimeProvider(double tempo, int beats, int ticks)
Method Detail |
---|
public int getBeatsPerBar()
public toxi.util.events.EventDispatcher<QuantizedTimeHandler> getDispatcher()
public double getTargetTempo()
public double getTempo()
public double getTempoChangeSpeed()
public int getTicks()
public int getTicksPerBar()
public int getTicksPerBeat()
public void makeHighPriority()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void setBeatsPerBar(int beatsPerBar)
beatsPerBar
- the beatsPerBar to setpublic void setTargetTempo(double targetBPM)
targetBPM
- the targetBPM to setpublic void setTempo(double bpm)
public void setTempoChangeSpeed(double tempoChangeSpeed)
tempoChangeSpeed
- the tempoChangeSpeed to setpublic void setTicksPerBeat(int ticksPerBeat)
ticksPerBeat
- the ticksPerBeat to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |