Interface: AudioParam
Defined in: types/desktop-engine.d.ts:4849
A value of a node, set directly or automated on the context's timeline (times in seconds of context.currentTime)
Properties
automationRate
automationRate: AutomationRate;Defined in: types/desktop-engine.d.ts:4852
Can't be changed on AudioBufferSourceNode's and DynamicsCompressorNode's params (always "k-rate")
defaultValue
readonly defaultValue: number;Defined in: types/desktop-engine.d.ts:4853
maxValue
readonly maxValue: number;Defined in: types/desktop-engine.d.ts:4855
minValue
readonly minValue: number;Defined in: types/desktop-engine.d.ts:4854
value
value: number;Defined in: types/desktop-engine.d.ts:4850
Methods
cancelAndHoldAtTime()
cancelAndHoldAtTime(cancelTime): AudioParam;Defined in: types/desktop-engine.d.ts:4864
Parameters
| Parameter | Type |
|---|---|
cancelTime | number |
Returns
AudioParam
cancelScheduledValues()
cancelScheduledValues(cancelTime): AudioParam;Defined in: types/desktop-engine.d.ts:4863
Parameters
| Parameter | Type |
|---|---|
cancelTime | number |
Returns
AudioParam
exponentialRampToValueAtTime()
exponentialRampToValueAtTime(value, endTime): AudioParam;Defined in: types/desktop-engine.d.ts:4859
value can't be 0
Parameters
| Parameter | Type |
|---|---|
value | number |
endTime | number |
Returns
AudioParam
linearRampToValueAtTime()
linearRampToValueAtTime(value, endTime): AudioParam;Defined in: types/desktop-engine.d.ts:4857
Parameters
| Parameter | Type |
|---|---|
value | number |
endTime | number |
Returns
AudioParam
setTargetAtTime()
setTargetAtTime(
target,
startTime,
timeConstant
): AudioParam;Defined in: types/desktop-engine.d.ts:4860
Parameters
| Parameter | Type |
|---|---|
target | number |
startTime | number |
timeConstant | number |
Returns
AudioParam
setValueAtTime()
setValueAtTime(value, startTime): AudioParam;Defined in: types/desktop-engine.d.ts:4856
Parameters
| Parameter | Type |
|---|---|
value | number |
startTime | number |
Returns
AudioParam
setValueCurveAtTime()
setValueCurveAtTime(
values,
startTime,
duration
): AudioParam;Defined in: types/desktop-engine.d.ts:4862
At least 2 values, duration more than 0
Parameters
| Parameter | Type |
|---|---|
values | Iterable<number> |
startTime | number |
duration | number |
Returns
AudioParam
