public class LinearRandomLFO extends AbstractLFO
isConfigured, randomSeed, songContext, TWO_PI
Constructor and Description |
---|
LinearRandomLFO() |
Modifier and Type | Method and Description |
---|---|
void |
configure(SongContext songContext,
Node node)
Configures the instance using the specified XML node.
|
double |
getMaxDistance() |
double |
getMinDistance() |
double |
getValue(double angle)
Returns the LFO's value of the given angle as a double.
|
void |
setMaxDistance(double maxDistance) |
void |
setMinDistance(double minDistance) |
void |
setValueCount(int valueCount) |
getRandomSeed, getRawTickValue, getTickValue, setActivitySpeed, setBeatSpeed, setMaxAmplitude, setMaxValue, setMinAmplitude, setMinValue, setPhase, setRandomSeed, setSegmentPairSpeed, setSongContext, setSongSpeed, setTimeSpeed
public double getValue(double angle)
AbstractLFO
getValue
in class AbstractLFO
angle
- the angle in radians (non-negative)public final void configure(SongContext songContext, Node node) throws XPathException
XMLConfigurable
songContext
- the song contextnode
- the parent XML node of the configuration tagsXPathException
- in case of an XPath problempublic void setValueCount(int valueCount)
public double getMinDistance()
public void setMinDistance(double minDistance)
public double getMaxDistance()
public void setMaxDistance(double maxDistance)