public class TriangleLFO extends AbstractLFO
isConfigured, randomSeed, songContext, TWO_PI
Constructor and Description |
---|
TriangleLFO() |
Modifier and Type | Method and Description |
---|---|
void |
configure(SongContext songContext,
Node node)
Configures the instance using the specified XML node.
|
double |
getValue(double angle)
Returns the LFO's value of the given angle as a double.
|
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 problem