public class SawLFO extends LXRangeModulator
LXComponent.Placeholder, LXComponent.Renamable
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Units
LXSerializable.Utils
looping, tempoDivision, tempoLock, tempoSync
runMs, running, trigger
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
SawLFO(double startValue,
double endValue,
double periodMs) |
SawLFO(double startValue,
double endValue,
LXParameter periodMs) |
SawLFO(double startValue,
LXParameter endValue,
double periodMs) |
SawLFO(double startValue,
LXParameter endValue,
LXParameter periodMs) |
SawLFO(LXParameter startValue,
double endValue,
double periodMs) |
SawLFO(LXParameter startValue,
double endValue,
LXParameter periodMs) |
SawLFO(LXParameter startValue,
LXParameter endValue,
double periodMs) |
SawLFO(LXParameter startValue,
LXParameter endValue,
LXParameter periodMs) |
SawLFO(String label,
double startValue,
double endValue,
double periodMs) |
SawLFO(String label,
double startValue,
double endValue,
LXParameter periodMs) |
SawLFO(String label,
double startValue,
LXParameter endValue,
double periodMs) |
SawLFO(String label,
double startValue,
LXParameter endValue,
LXParameter periodMs) |
SawLFO(String label,
LXParameter startValue,
double endValue,
double periodMs) |
SawLFO(String label,
LXParameter startValue,
double endValue,
LXParameter periodMs) |
SawLFO(String label,
LXParameter startValue,
LXParameter endValue,
double periodMs) |
SawLFO(String label,
LXParameter startValue,
LXParameter endValue,
LXParameter periodMs) |
Modifier and Type | Method and Description |
---|---|
protected double |
computeNormalizedBasis(double basis,
double normalizedValue)
Subclasses determine the basis based on a normalized value from 0 to 1.
|
protected double |
computeNormalizedValue(double deltaMs,
double basis)
Subclasses implement this which returns their value from a 0-1 scale.
|
computeBasis, computeValue, getExponent, getNormalized, getNormalizedf, onSetValue, setEndValue, setEndValue, setExponent, setNormalized, setRange, setRange, setRangeFromHereTo, setRangeFromHereTo, setStartValue, setStartValue
computeValue, finished, getBasis, getBasisf, getPeriod, getPeriodf, load, loop, loop, onParameterChanged, onReset, randomBasis, save, setBasis, setLooping, setPeriod, setPeriod, updateBasis
getDescription, getFormatter, getIndex, getOscAddress, getOscPath, getPath, getPolarity, getUnits, getValue, getValuef, run, setComponent, setDescription, setFormatter, setIndex, setPolarity, setUnits, setValue, setValue, updateValue
isRunning, onStart, onStop, reset, start, stop, toggle, trigger
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, dispose, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscLabel, getParameter, getParameters, getParent, handleOscMessage, loadParameters, removeParameter, removeParameter, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getDescription, getFormatter, getLabel, getPolarity, getUnits, getValue, getValuef, isMappable, reset, setComponent, setMappable, setValue
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPath
public SawLFO(double startValue, double endValue, double periodMs)
public SawLFO(LXParameter startValue, double endValue, double periodMs)
public SawLFO(double startValue, LXParameter endValue, double periodMs)
public SawLFO(double startValue, double endValue, LXParameter periodMs)
public SawLFO(LXParameter startValue, LXParameter endValue, double periodMs)
public SawLFO(LXParameter startValue, double endValue, LXParameter periodMs)
public SawLFO(double startValue, LXParameter endValue, LXParameter periodMs)
public SawLFO(LXParameter startValue, LXParameter endValue, LXParameter periodMs)
public SawLFO(String label, double startValue, double endValue, double periodMs)
public SawLFO(String label, LXParameter startValue, double endValue, double periodMs)
public SawLFO(String label, double startValue, LXParameter endValue, double periodMs)
public SawLFO(String label, double startValue, double endValue, LXParameter periodMs)
public SawLFO(String label, LXParameter startValue, LXParameter endValue, double periodMs)
public SawLFO(String label, LXParameter startValue, double endValue, LXParameter periodMs)
public SawLFO(String label, double startValue, LXParameter endValue, LXParameter periodMs)
public SawLFO(String label, LXParameter startValue, LXParameter endValue, LXParameter periodMs)
protected final double computeNormalizedValue(double deltaMs, double basis)
LXRangeModulator
computeNormalizedValue
in class LXRangeModulator
deltaMs
- Milliseconds elapsedbasis
- Basis of modulatorprotected final double computeNormalizedBasis(double basis, double normalizedValue)
LXRangeModulator
computeNormalizedBasis
in class LXRangeModulator
basis
- Modulator basisnormalizedValue
- A normalize value from 0 to 1LX library by Mark C. Slee. © 2012-2020