Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum OscillatorType
- Object
- Enum<OscillatorType>
- OscillatorType
ImplementsComparable<OscillatorType>
The waveform an
OscillatorNode generates.Enum constants
SINE | A sine wave. |
SQUARE | A band-limited square wave. |
SAWTOOTH | A band-limited sawtooth wave. |
TRIANGLE | A band-limited triangle wave. |
CUSTOM | A waveform defined by a PeriodicWave, set with OscillatorNode.setPeriodicWave(PeriodicWave). |
Methods
public static OscillatorType[] values() | |
public static OscillatorType valueOf(String name) |
Inherited methods
Enum constant details
SINE
SINEA sine wave.
SQUARE
SQUAREA band-limited square wave.
SAWTOOTH
SAWTOOTHA band-limited sawtooth wave.
TRIANGLE
TRIANGLEA band-limited triangle wave.
CUSTOM
CUSTOMA waveform defined by a
PeriodicWave, set with
OscillatorNode.setPeriodicWave(PeriodicWave).Method details
values
public static OscillatorType[] values()valueOf
public static OscillatorType valueOf(String name)