|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoxi.math.waves.AbstractWave
toxi.math.waves.ConstantWave
public class ConstantWave
Implements a constant value as waveform.
Field Summary |
---|
Fields inherited from class toxi.math.waves.AbstractWave |
---|
amp, frequency, offset, phase, PI, TWO_PI, value |
Constructor Summary | |
---|---|
ConstantWave(float value)
|
Method Summary | |
---|---|
float |
update()
Updates the wave and returns new value. |
Methods inherited from class toxi.math.waves.AbstractWave |
---|
cyclePhase, cyclePhase, hertzToRadians, pop, push, radiansToHertz, reset, setPhase, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstantWave(float value)
Method Detail |
---|
public final float update()
AbstractWave
AbstractWave.cyclePhase()
.
update
in class AbstractWave
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |