Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public enum OscillatorType

  1. Object
  2. Enum<OscillatorType>
  3. OscillatorType

ImplementsComparable<OscillatorType>

The waveform an OscillatorNode generates.

Enum constants

SINEA sine wave.
SQUAREA band-limited square wave.
SAWTOOTHA band-limited sawtooth wave.
TRIANGLEA band-limited triangle wave.
CUSTOMA 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

SINE
A sine wave.

SQUARE

SQUARE
A band-limited square wave.

SAWTOOTH

SAWTOOTH
A band-limited sawtooth wave.

TRIANGLE

TRIANGLE
A band-limited triangle wave.

CUSTOM

CUSTOM

Method details

values

public static OscillatorType[] values()

valueOf

public static OscillatorType valueOf(String name)