public abstract class HistoryBuffer extends LXModulator
LXComponent.Placeholder, LXComponent.RenamableLXParameter.Formatter, LXParameter.Polarity, LXParameter.UnitsLXSerializable.UtilsrunMs, running, triggercontrolSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor| Constructor and Description |
|---|
HistoryBuffer(int size) |
HistoryBuffer(String label,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeValue(double deltaMs)
Implementation method to advance the modulator's internal state.
|
protected abstract double |
getFrameValue() |
double |
getHistory(float framesAgo) |
double |
getHistory(int framesAgo) |
double |
getHistory(int framesAgo,
int avgLength) |
float |
getHistoryf(int framesAgo) |
float |
getHistoryf(int framesAgo,
int avgLength) |
getDescription, getFormatter, getIndex, getOscAddress, getOscPath, getPath, getPolarity, getUnits, getValue, getValuef, onSetValue, run, setComponent, setDescription, setFormatter, setIndex, setPolarity, setUnits, setValue, setValue, updateValueisRunning, loop, onParameterChanged, onReset, onStart, onStop, reset, start, stop, toggle, triggeraddArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, dispose, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscLabel, getParameter, getParameters, getParent, handleOscMessage, load, loadParameters, removeParameter, removeParameter, save, saveParameters, setParent, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getLabel, isMappable, reset, setMappableget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParentpublic HistoryBuffer(int size)
public HistoryBuffer(String label, int size)
protected double computeValue(double deltaMs)
LXModulatorcomputeValue in class LXModulatordeltaMs - Number of milliseconds to advance byprotected abstract double getFrameValue()
public double getHistory(float framesAgo)
public double getHistory(int framesAgo)
public float getHistoryf(int framesAgo)
public double getHistory(int framesAgo,
int avgLength)
public float getHistoryf(int framesAgo,
int avgLength)
LX library by Mark C. Slee. © 2012-2020