@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioParam")
public class AudioParam
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull java.lang.String |
automationRate |
float |
value
The Web Audio API's AudioParam interface property value gets or sets the value of this AudioParam at the current time.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AudioParam() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull AudioParam |
cancelAndHoldAtTime(double cancelTime)
The cancelAndHoldAtTime() property of the AudioParam interface cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.
|
@JsNonNull AudioParam |
cancelScheduledValues(double cancelTime)
A reference to this AudioParam object.
|
float |
defaultValue()
The defaultValue read-only property of the AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the AudioParam.
|
@JsNonNull AudioParam |
exponentialRampToValueAtTime(float value,
double endTime)
A reference to this AudioParam object.
|
@JsNonNull AudioParam |
linearRampToValueAtTime(float value,
double endTime)
A reference to this AudioParam object.
|
float |
maxValue()
The maxValue read-only property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.
|
float |
minValue()
The minValue read-only property of the AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range.
|
@JsNonNull AudioParam |
setTargetAtTime(float target,
double startTime,
float timeConstant)
The setTargetAtTime() method of the AudioParam interface schedules the start of a gradual change to the AudioParam value.
|
@JsNonNull AudioParam |
setValueAtTime(float value,
double startTime)
The setValueAtTime() method of the AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against AudioContext.currentTime.
|
@JsNonNull AudioParam |
setValueCurveAtTime(double[] values,
double startTime,
double duration)
The setValueCurveAtTime() method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
|
@JsNonNull AudioParam |
setValueCurveAtTime(JsArray<java.lang.Double> values,
double startTime,
double duration)
The setValueCurveAtTime() method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@AutomationRate public @JsNonNull java.lang.String automationRate
public float value
@JsProperty(name="defaultValue") public float defaultValue()
@JsProperty(name="maxValue") public float maxValue()
@JsProperty(name="minValue") public float minValue()
public @JsNonNull AudioParam cancelAndHoldAtTime(double cancelTime)
public @JsNonNull AudioParam cancelScheduledValues(double cancelTime)
public @JsNonNull AudioParam exponentialRampToValueAtTime(float value, double endTime)
public @JsNonNull AudioParam linearRampToValueAtTime(float value, double endTime)
public @JsNonNull AudioParam setTargetAtTime(float target, double startTime, float timeConstant)
public @JsNonNull AudioParam setValueAtTime(float value, double startTime)
public @JsNonNull AudioParam setValueCurveAtTime(@Nonnull JsArray<java.lang.Double> values, double startTime, double duration)
public @JsNonNull AudioParam setValueCurveAtTime(@Nonnull double[] values, double startTime, double duration)