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