@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface OscillatorOptions
extends AudioNodeOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OscillatorOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OscillatorOptions.Builder |
create() |
float |
detune() |
float |
frequency() |
PeriodicWave |
periodicWave() |
void |
setDetune(float detune) |
void |
setFrequency(float frequency) |
void |
setPeriodicWave(PeriodicWave periodicWave) |
void |
setType(java.lang.String type) |
java.lang.String |
type() |
channelCount, channelCountMode, channelInterpretation, setChannelCount, setChannelCountMode, setChannelInterpretation@JsOverlay @Nonnull static OscillatorOptions.Builder create()
create in interface AudioNodeOptions@JsProperty(name="detune") float detune()
@JsProperty void setDetune(float detune)
@JsProperty(name="frequency") float frequency()
@JsProperty void setFrequency(float frequency)
@JsProperty(name="periodicWave") PeriodicWave periodicWave()
@JsProperty
void setPeriodicWave(@Nonnull
PeriodicWave periodicWave)
@JsProperty(name="type") @OscillatorType java.lang.String type()
@JsProperty void setType(@OscillatorType @Nonnull java.lang.String type)