Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum OverSampleType
- Object
- Enum<OverSampleType>
- OverSampleType
ImplementsComparable<OverSampleType>
How much a
WaveShaperNode oversamples while it applies its curve: the
Web Audio "none", "2x" and "4x". Oversampling keeps the harmonics a
hard curve creates from folding back as aliasing, at the cost of more work.Enum constants
NONE | The curve is applied at the context’s rate. |
TWO_X | The input is upsampled two times, shaped and filtered back down. |
FOUR_X | The input is upsampled four times, shaped and filtered back down. |
Methods
public static OverSampleType[] values() | |
public static OverSampleType valueOf(String name) |
Inherited methods
Enum constant details
NONE
NONEThe curve is applied at the context’s rate.
TWO_X
TWO_XThe input is upsampled two times, shaped and filtered back down.
FOUR_X
FOUR_XThe input is upsampled four times, shaped and filtered back down.
Method details
values
public static OverSampleType[] values()valueOf
public static OverSampleType valueOf(String name)