Interface AudioParam
interface AudioParam {
automationRate: AutomationRate;
defaultValue: number;
maxValue: number;
minValue: number;
value: number;
cancelAndHoldAtTime(cancelTime: number): AudioParam;
cancelScheduledValues(cancelTime: number): AudioParam;
exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
linearRampToValueAtTime(value: number, endTime: number): AudioParam;
setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;
setValueAtTime(value: number, startTime: number): AudioParam;
setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;
setValueCurveAtTime(values: Iterable<number, any, any>, startTime: number, duration: number): AudioParam;
}
automationRate: AutomationRate;
defaultValue: number;
maxValue: number;
minValue: number;
value: number;
cancelAndHoldAtTime(cancelTime: number): AudioParam;
cancelScheduledValues(cancelTime: number): AudioParam;
exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
linearRampToValueAtTime(value: number, endTime: number): AudioParam;
setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;
setValueAtTime(value: number, startTime: number): AudioParam;
setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;
setValueCurveAtTime(values: Iterable<number, any, any>, startTime: number, duration: number): AudioParam;
}
Properties
automationRate
Readonly
defaultValue
defaultValue : number
Readonly
maxValue
maxValue : number
Readonly
minValue
minValue : number
value
value: number
Methods
cancelAndHoldAtTime
- cancel
And (cancelTime): AudioParamHold At Time Parameters
- cancelTime: number
Returns AudioParam
cancelScheduledValues
- cancel
Scheduled (cancelTime): AudioParamValues Parameters
- cancelTime: number
Returns AudioParam
exponentialRampToValueAtTime
- exponential
Ramp (value, endTime): AudioParamTo Value At Time Parameters
- value: number
- endTime: number
Returns AudioParam
linearRampToValueAtTime
- linear
Ramp (value, endTime): AudioParamTo Value At Time Parameters
- value: number
- endTime: number
Returns AudioParam
setTargetAtTime
- set
Target (target, startTime, timeConstant): AudioParamAt Time Parameters
- target: number
- startTime: number
- timeConstant: number
Returns AudioParam
setValueAtTime
- set
Value (value, startTime): AudioParamAt Time Parameters
- value: number
- startTime: number
Returns AudioParam
setValueCurveAtTime
- set
Value (values, startTime, duration): AudioParamCurve At Time Parameters
- values: number[] | Float32Array
- startTime: number
- duration: number
Returns AudioParam
- set
Value (values, startTime, duration): AudioParamCurve At Time Parameters
- values: Iterable<number, any, any>
- startTime: number
- duration: number
Returns AudioParam
MDN Reference