Interface: AudioParam
Defined in: types/desktop-engine.d.ts:6326
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:6329
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:6330
maxValue
readonly maxValue: number;Defined in: types/desktop-engine.d.ts:6332
minValue
readonly minValue: number;Defined in: types/desktop-engine.d.ts:6331
value
value: number;Defined in: types/desktop-engine.d.ts:6327
Methods
cancelAndHoldAtTime()
cancelAndHoldAtTime(cancelTime): AudioParam;Defined in: types/desktop-engine.d.ts:6341
Parameters
| Parameter | Type |
|---|---|
cancelTime | number |
Returns
AudioParam
cancelScheduledValues()
cancelScheduledValues(cancelTime): AudioParam;Defined in: types/desktop-engine.d.ts:6340
Parameters
| Parameter | Type |
|---|---|
cancelTime | number |
Returns
AudioParam
exponentialRampToValueAtTime()
exponentialRampToValueAtTime(value, endTime): AudioParam;Defined in: types/desktop-engine.d.ts:6336
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:6334
Parameters
| Parameter | Type |
|---|---|
value | number |
endTime | number |
Returns
AudioParam
setTargetAtTime()
setTargetAtTime(
target,
startTime,
timeConstant
): AudioParam;Defined in: types/desktop-engine.d.ts:6337
Parameters
| Parameter | Type |
|---|---|
target | number |
startTime | number |
timeConstant | number |
Returns
AudioParam
setValueAtTime()
setValueAtTime(value, startTime): AudioParam;Defined in: types/desktop-engine.d.ts:6333
Parameters
| Parameter | Type |
|---|---|
value | number |
startTime | number |
Returns
AudioParam
setValueCurveAtTime()
setValueCurveAtTime(
values,
startTime,
duration
): AudioParam;Defined in: types/desktop-engine.d.ts:6339
At least 2 values, duration more than 0
Parameters
| Parameter | Type |
|---|---|
values | Iterable<number> |
startTime | number |
duration | number |
Returns
AudioParam
